aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));
}