diff options
author | Pablo Barciela <[email protected]> | 2019-04-19 04:17:15 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2019-04-23 14:37:40 +0200 |
commit | e41acdb5cade8c0d8855dcfe583c3edd31b9b9bf (patch) | |
tree | 9bc6b6afad87a6cfc8358aa1efe1dec35c07ef02 /src/currency-manager.c | |
parent | 44c9c2ba23e1e4d2b7d615f7b8a6a5edf15c5ec7 (diff) | |
download | mate-calc-e41acdb5cade8c0d8855dcfe583c3edd31b9b9bf.tar.bz2 mate-calc-e41acdb5cade8c0d8855dcfe583c3edd31b9b9bf.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 'src/currency-manager.c')
0 files changed, 0 insertions, 0 deletions