diff options
author | Pablo Barciela <[email protected]> | 2019-04-19 04:17:15 +0200 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-04-23 06:05:16 +0000 |
commit | cd896f3702aeb727e0d15b3ec1afaf953b6aaca0 (patch) | |
tree | b9f40be2439c030957350b4798d3fbfd0a3780fb /help/ne | |
parent | ef40478f1c2cee63cb14d53858ac11d392597550 (diff) | |
download | mate-calc-cd896f3702aeb727e0d15b3ec1afaf953b6aaca0.tar.bz2 mate-calc-cd896f3702aeb727e0d15b3ec1afaf953b6aaca0.tar.xz |
mate-calc: Fix memory leak
'g_path_get_basename' needs to be freed
Fix memory leak detected by valgrind:
valgrind --leak-check=full mate-calc
==17452== 10 bytes in 1 blocks are definitely lost in loss record 501 of 10,243
==17452== at 0x483577F: malloc (vg_replace_malloc.c:299)
==17452== by 0x5657900: g_malloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5800.3)
==17452== by 0x563E84A: g_path_get_basename (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5800.3)
==17452== by 0x11A9E3: main (in /usr/bin/mate-calc)
Diffstat (limited to 'help/ne')
0 files changed, 0 insertions, 0 deletions