From 3d29330d2eaca9ac890bdbb10c42e8df73ba1b87 Mon Sep 17 00:00:00 2001 From: monsta Date: Fri, 5 Feb 2016 14:42:15 +0300 Subject: fix random crash on startup when python-caja extension is enabled I hate Schroedinger's bugs... --- libcaja-private/caja-module.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libcaja-private') diff --git a/libcaja-private/caja-module.c b/libcaja-private/caja-module.c index 7f4dd895..8dc00f6e 100644 --- a/libcaja-private/caja-module.c +++ b/libcaja-private/caja-module.c @@ -153,9 +153,9 @@ module_object_weak_notify (gpointer user_data, GObject *object) static void add_module_objects (CajaModule *module) { - GObject *object; - const GType *types; - int num_types; + GObject *object = NULL; + const GType *types = NULL; + int num_types = 0; int i; module->list_types (&types, &num_types); -- cgit v1.2.1