diff options
author | Ted Gould <ted@canonical.com> | 2009-02-11 20:29:04 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-02-11 20:29:04 -0600 |
commit | 734c7ea36fffbc85042bbeccd476b8d2f7609e67 (patch) | |
tree | 3b47404661f81aac6e80f34a66cffb026926bbbb /libindicate | |
parent | 2c02884c93f550c7df6e217c7853ab217c82eccc (diff) | |
download | libayatana-indicator-734c7ea36fffbc85042bbeccd476b8d2f7609e67.tar.gz libayatana-indicator-734c7ea36fffbc85042bbeccd476b8d2f7609e67.tar.bz2 libayatana-indicator-734c7ea36fffbc85042bbeccd476b8d2f7609e67.zip |
Fixing the deallocation to check the right parameters.
Diffstat (limited to 'libindicate')
-rw-r--r-- | libindicate/listener.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libindicate/listener.c b/libindicate/listener.c index e6a8aa6..4da6d59 100644 --- a/libindicate/listener.c +++ b/libindicate/listener.c @@ -341,10 +341,10 @@ proxy_struct_destroy (gpointer data) } if (proxy_data->property_proxy) { - g_object_unref(G_OBJECT(proxy_data->proxy)); + g_object_unref(G_OBJECT(proxy_data->property_proxy)); } - if (proxy_data->property_proxy) { + if (proxy_data->proxy) { g_object_unref(G_OBJECT(proxy_data->proxy)); } |