From d3dac519a53b2012a0072e292561b6e729b634d0 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(-) diff --git a/libcaja-private/caja-module.c b/libcaja-private/caja-module.c index 07951498..0067f2d3 100644 --- a/libcaja-private/caja-module.c +++ b/libcaja-private/caja-module.c @@ -152,9 +152,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