aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-11 20:29:04 -0600
committerTed Gould <ted@canonical.com>2009-02-11 20:29:04 -0600
commit734c7ea36fffbc85042bbeccd476b8d2f7609e67 (patch)
tree3b47404661f81aac6e80f34a66cffb026926bbbb
parent2c02884c93f550c7df6e217c7853ab217c82eccc (diff)
downloadlibayatana-indicator-734c7ea36fffbc85042bbeccd476b8d2f7609e67.tar.gz
libayatana-indicator-734c7ea36fffbc85042bbeccd476b8d2f7609e67.tar.bz2
libayatana-indicator-734c7ea36fffbc85042bbeccd476b8d2f7609e67.zip
Fixing the deallocation to check the right parameters.
-rw-r--r--libindicate/listener.c4
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));
}