summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-05 14:42:15 +0300
committermonsta <[email protected]>2016-02-15 17:00:37 +0300
commitd3dac519a53b2012a0072e292561b6e729b634d0 (patch)
treeb0f68bfe32d0eb3f9fae5e5fa4098dd7f4bc372c
parent7908a357e6a112547f1aa26a5a0dac701065d48b (diff)
downloadcaja-d3dac519a53b2012a0072e292561b6e729b634d0.tar.bz2
caja-d3dac519a53b2012a0072e292561b6e729b634d0.tar.xz
fix random crash on startup when python-caja extension is enabled
I hate Schroedinger's bugs...
-rw-r--r--libcaja-private/caja-module.c6
1 files 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);