mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +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("");
|
||||
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…
Reference in a new issue