ENOTENOUGHCOFFEE

Third attempt to get this trivial memory leak fix right.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2012-09-30 09:12:53 -07:00
parent 02bfd2d9ea
commit 946d9c7166

View file

@ -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");