Yes that appears to be the case.
I'll fix it. Thanks for spotting it. -- Be Seeing You - Rob. If at first you don't succeed, then skydiving isn't for you. ________________________________ From: Kamil Ignacak <acer...@wp.pl> Sent: 29 November 2016 21:17:00 To: viking-devel@lists.sourceforge.net Subject: [Viking-devel] viktrwlayer.c: possible memory leak in uniquify functions Hi! I think that I've found a minor memory leak in viktrwlayer.c file. Can you please take a look? The leak is in two uniquify functions: vik_trw_layer_uniquify_tracks() vik_trw_layer_uniquify_waypoints() Both of the functions allocate a char buffer with new track or waypoint name with trw_layer_new_unique_sublayer_name(), but the buffer is never deallocated. Am I seeing this right? Best regards, Kamil ------------------------------------------------------------------------------ _______________________________________________ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/
------------------------------------------------------------------------------
_______________________________________________ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/