summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark McLoughlin <mark@skynet.ie>2005-03-07 11:15:43 +0000
committerMark McLoughlin <mark@skynet.ie>2005-03-07 11:15:43 +0000
commitb23a41c2ca740ee2542d02509a964b285fa7635b (patch)
tree7049aceb1008781e836e27651739050680c03b40
parente21c7b303aee09cd0e577134f86f29e9abd83096 (diff)
downloadstartup-notification-b23a41c2ca740ee2542d02509a964b285fa7635b.tar.gz
Based on fix from Aivars Kalvans <aivars.kalvans@inbox.lv>
Unref the SnDisplay.
-rw-r--r--ChangeLog7
-rw-r--r--libsn/sn-launchee.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 91573e9..29cfcd4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-03-07 Mark McLoughlin <mark@skynet.ie>
+
+ Based on fix from Aivars Kalvans <aivars.kalvans@inbox.lv>
+
+ * libsn/sn-launchee.c: (sn_launchee_context_unref):
+ Unref the SnDisplay.
+
2005-02-26 Vincent Untz <vincent@vuntz.net>
* libsn/sn-xmessages.c: (parse_property): plug leak
diff --git a/libsn/sn-launchee.c b/libsn/sn-launchee.c
index db3ee05..1c8584b 100644
--- a/libsn/sn-launchee.c
+++ b/libsn/sn-launchee.c
@@ -103,6 +103,7 @@ sn_launchee_context_unref (SnLauncheeContext *context)
context->refcount -= 1;
if (context->refcount == 0)
{
+ sn_display_unref (context->display);
sn_free (context->startup_id);
sn_free (context);