mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
ENOTENOUGHCOFFEE
Third attempt to get this trivial memory leak fix right. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
02bfd2d9ea
commit
946d9c7166
1 changed files with 1 additions and 1 deletions
|
@ -1028,7 +1028,7 @@ void init_ui(int *argcp, char ***argvp)
|
||||||
uemis_max_dive_data = strdup("");
|
uemis_max_dive_data = strdup("");
|
||||||
else
|
else
|
||||||
uemis_max_dive_data = strdup(conf_value);
|
uemis_max_dive_data = strdup(conf_value);
|
||||||
free(conf_value);
|
free((char *)conf_value);
|
||||||
error_info_bar = NULL;
|
error_info_bar = NULL;
|
||||||
win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
|
win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
|
||||||
g_set_application_name ("subsurface");
|
g_set_application_name ("subsurface");
|
||||||
|
|
Loading…
Add table
Reference in a new issue