[Xfce4-commits] <midori:master> Check that extension is non-NULL if there was no error
Christian Dywan
noreply at xfce.org
Tue Sep 25 00:06:01 CEST 2012
Updating branch refs/heads/master
to 2eda29a136cbfd988d59b475c99bfbd5c5a1dae3 (commit)
from 9111111223fbb9b1f41b34cf8a23c4276b237e29 (commit)
commit 2eda29a136cbfd988d59b475c99bfbd5c5a1dae3
Author: Christian Dywan <christian at twotoasts.de>
Date: Tue Sep 25 00:03:43 2012 +0200
Check that extension is non-NULL if there was no error
midori/main.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/midori/main.c b/midori/main.c
index 69163d5..4859e63 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -1295,7 +1295,9 @@ midori_load_module (MidoriApp* app,
katze_array_add_item (extensions, extension);
g_object_unref (extensions);
}
- g_object_unref (extension);
+
+ if (extension != NULL)
+ g_object_unref (extension);
}
static void
More information about the Xfce4-commits
mailing list