projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5312cd1
)
GUI: Fix memory leak on startup
author
John Darrington
<john@darrington.wattle.id.au>
Sat, 27 Jun 2020 05:27:25 +0000
(07:27 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Sat, 27 Jun 2020 05:27:25 +0000
(07:27 +0200)
src/ui/gui/main.c
patch
|
blob
|
history
diff --git
a/src/ui/gui/main.c
b/src/ui/gui/main.c
index dee766cbffb735622c24bb5f3e1e1a88ec336679..cb5519b5f3ba2e3f0e15e189a432b2ad3b49d8b2 100644
(file)
--- a/
src/ui/gui/main.c
+++ b/
src/ui/gui/main.c
@@
-280,6
+280,7
@@
process_pre_start_arguments (int *argc, char ***argv)
g_option_context_set_ignore_unknown_options (oc, FALSE);
g_option_context_add_main_entries (oc, oe, NULL);
g_option_context_parse (oc, argc, argv, NULL);
+ g_option_context_free (oc);
}
#if ENABLE_RELOCATABLE && defined(__APPLE__)