summaryrefslogtreecommitdiff
path: root/libsn
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 /libsn
parente21c7b303aee09cd0e577134f86f29e9abd83096 (diff)
Based on fix from Aivars Kalvans <aivars.kalvans@inbox.lv>
Unref the SnDisplay.
Diffstat (limited to 'libsn')
-rw-r--r--libsn/sn-launchee.c1
1 files changed, 1 insertions, 0 deletions
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);