From: Christian Dywan Date: Thu, 14 May 2009 22:58:58 +0000 (+0200) Subject: Fix a crash caused by a mistaken attempt at plugging a leak X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ade0f16053c606629dd79368b42a4dfd3ddb14c5;p=midori Fix a crash caused by a mistaken attempt at plugging a leak --- diff --git a/midori/midori-view.c b/midori/midori-view.c index 5e803d83..867cb227 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -783,8 +783,9 @@ webkit_web_view_load_finished_cb (WebKitWebView* web_view, g_strfreev (parts); } g_strfreev (items); - g_object_set_data_full (G_OBJECT (view), "news-feeds", - value && *value ? (void*)1 : (void*)0, g_free); + g_object_set_data (G_OBJECT (view), "news-feeds", + value && *value ? (void*)1 : (void*)0); + g_free (value); /* Ensure load-status is notified again, whether it changed or not */ g_object_notify (G_OBJECT (view), "load-status"); }