diff options
author | rbuj <[email protected]> | 2019-03-04 07:29:38 +0100 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2019-04-09 21:29:03 +0200 |
commit | fccbbbcb04d5173ffae27fcbdabb00128c330c20 (patch) | |
tree | 865de52b13d95c4beb753e7c18fc5cdd5b7ad765 /gsearchtool | |
parent | 532a8d3e9794c9bc0f639b40f98eed0049b70757 (diff) | |
download | mate-utils-fccbbbcb04d5173ffae27fcbdabb00128c330c20.tar.bz2 mate-utils-fccbbbcb04d5173ffae27fcbdabb00128c330c20.tar.xz |
mate-disk-usage-analyzer: Memory leak
To detect the memory leak using valgrind:
export CFLAGS="-Og -g -fno-omit-frame-pointer -fPIE -pie"
export CXXFLAGS="-Og -g -fno-omit-frame-pointer -fPIE -pie"
./autogen.sh --prefix=/usr
make clean
make
sudo make install
valgrind --tool=memcheck --undef-value-errors=no --leak-check=full --log-file="report.txt" /usr/bin/mate-disk-usage-analyzer
report.txt content:
==16061== 6 bytes in 1 blocks are definitely lost in loss record 174 of 14,390
==16061== at 0x483880B: malloc (vg_replace_malloc.c:309)
==16061== by 0x56B10D7: g_malloc (gmem.c:99)
==16061== by 0x56CAAEE: g_strdup (gstrfuncs.c:363)
==16061== by 0x56E3743: g_variant_dup_string (gvariant.c:1533)
==16061== by 0x5509DE6: g_settings_get_string (gsettings.c:1795)
==16061== by 0x115664: initialize_charts (baobab.c:1185)
==16061== by 0x11640C: main (baobab.c:1307)
Diffstat (limited to 'gsearchtool')
0 files changed, 0 insertions, 0 deletions