diff options
Diffstat (limited to 'src/lib/eventloop.c')
-rw-r--r-- | src/lib/eventloop.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/eventloop.c b/src/lib/eventloop.c index f0a1f87c..d7a42055 100644 --- a/src/lib/eventloop.c +++ b/src/lib/eventloop.c | |||
@@ -921,8 +921,11 @@ GNUNET_GTK_main_loop_start (const char *binary_name, const char *binary_help, | |||
921 | g_object_unref (G_OBJECT (ml.builder)); | 921 | g_object_unref (G_OBJECT (ml.builder)); |
922 | if (NULL != ml.gml) | 922 | if (NULL != ml.gml) |
923 | g_main_loop_unref (ml.gml); | 923 | g_main_loop_unref (ml.gml); |
924 | GNUNET_CONFIGURATION_destroy (ml.cfg); | 924 | if (NULL != ml.cfg) |
925 | ml.cfg = NULL; | 925 | { |
926 | GNUNET_CONFIGURATION_destroy (ml.cfg); | ||
927 | ml.cfg = NULL; | ||
928 | } | ||
926 | GNUNET_free_non_null (ml.cfgfile); | 929 | GNUNET_free_non_null (ml.cfgfile); |
927 | return ret; | 930 | return ret; |
928 | } | 931 | } |