summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-05 14:42:15 +0300
committermonsta <[email protected]>2016-02-05 14:42:15 +0300
commit3d29330d2eaca9ac890bdbb10c42e8df73ba1b87 (patch)
tree7888e518e931d9f109a304dde8772798a97c6c80 /libcaja-private
parentb717d132ae9c16389f8dc81062e9fa08e6a94234 (diff)
downloadcaja-3d29330d2eaca9ac890bdbb10c42e8df73ba1b87.tar.bz2
caja-3d29330d2eaca9ac890bdbb10c42e8df73ba1b87.tar.xz
fix random crash on startup when python-caja extension is enabled
I hate Schroedinger's bugs...
Diffstat (limited to 'libcaja-private')
-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 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);