diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-09-30 09:12:53 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-09-30 09:12:53 -0700 |
commit | 946d9c7166f0690689f7a1078952a1ca0844fefb (patch) | |
tree | 4f75bcf34b5279e1288bfa8fc37dc721d94c75b6 | |
parent | 02bfd2d9ea180047a8af90a80edb32ee51690c3a (diff) | |
download | subsurface-946d9c7166f0690689f7a1078952a1ca0844fefb.tar.gz |
ENOTENOUGHCOFFEE
Third attempt to get this trivial memory leak fix right.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | gtk-gui.c | 2 |
1 files changed, 1 insertions, 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"); |