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
@ -1028,7 +1028,7 @@ void init_ui(int *argcp, char ***argvp)
|
||||
uemis_max_dive_data = strdup("");
|
||||
else
|
||||
uemis_max_dive_data = strdup(conf_value);
|
||||
free(conf_value);
|
||||
free((char *)conf_value);
|
||||
error_info_bar = NULL;
|
||||
win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
|
||||
g_set_application_name ("subsurface");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user