Project

General

Profile

Actions

Bug #4930

closed

Potential memory leak on Ubuntu

Added by Yufeng Zhang over 5 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

I tried to use Valgrind to check memory leak on Ubuntu 16.04. using ~/ndn-cxx/ndn-cxx/build$ valgrind --leak-check=yes ./unit-tests.

It showed that
==29582==
==29582== HEAP SUMMARY:
==29582== in use at exit: 93,747 bytes in 585 blocks
==29582== total heap usage: 18,287 allocs, 17,702 frees, 1,809,135 bytes allocated

==29582== LEAK SUMMARY:
==29582== definitely lost: 2,812 bytes in 13 blocks
==29582== indirectly lost: 2,855 bytes in 33 blocks
==29582== possibly lost: 0 bytes in 0 blocks
==29582== still reachable: 88,080 bytes in 539 blocks
==29582== suppressed: 0 bytes in 0 blocks

Actions

Also available in: Atom PDF