diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-11-03 14:29:36 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-06 09:21:40 -0800 |
commit | 9a3532b0cd59a200dd8e4400013928960f50beef (patch) | |
tree | 10643e202979d11f8799f14ff72bc80d65de7ef6 /dives/test11.xml | |
parent | ffc8e0a6615ae7cdd27cb9d36a9f08a493b110ec (diff) | |
download | subsurface-9a3532b0cd59a200dd8e4400013928960f50beef.tar.gz |
subsurfacestartup.c: don't double free 'default_filename'
'default_filename' is obtained from system_default_filename()
but system_default_filename() returns a static pointer
the HEAP memory of which is handled in main().
Remove the free() for 'default_filename' free_prefs()
to prevent a double free().
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives/test11.xml')
0 files changed, 0 insertions, 0 deletions