From c31d9936d916f4c7159f4917ee3f61fd13e14e4f Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 24 Apr 2009 20:13:57 +0200 Subject: [PATCH] Fix a crash when failing to open a downloaded file --- midori/sokoke.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/midori/sokoke.c b/midori/sokoke.c index 0cc7bf43..a6bb4c1e 100644 --- a/midori/sokoke.c +++ b/midori/sokoke.c @@ -129,7 +129,8 @@ sokoke_show_uri (GdkScreen* screen, g_free (command); if (result) return TRUE; - *error = NULL; + if (error) + *error = NULL; } return FALSE; -- 2.39.5