diff options
author | monsta <[email protected]> | 2016-02-05 14:42:15 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-02-15 17:00:37 +0300 |
commit | d3dac519a53b2012a0072e292561b6e729b634d0 (patch) | |
tree | b0f68bfe32d0eb3f9fae5e5fa4098dd7f4bc372c /libcaja-private | |
parent | 7908a357e6a112547f1aa26a5a0dac701065d48b (diff) | |
download | caja-d3dac519a53b2012a0072e292561b6e729b634d0.tar.bz2 caja-d3dac519a53b2012a0072e292561b6e729b634d0.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.c | 6 |
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); |