mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Free strduped prefs before exit
This plugs a leak detected by valgrind. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
be1b79081d
commit
da154222cc
3 changed files with 19 additions and 0 deletions
1
main.cpp
1
main.cpp
|
@ -68,5 +68,6 @@ int main(int argc, char **argv)
|
|||
exit_ui();
|
||||
parse_xml_exit();
|
||||
subsurface_console_exit();
|
||||
free_prefs();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue