summaryrefslogtreecommitdiff
path: root/gtk/gtkclipboard-quartz.c
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2009-12-30 14:18:33 +0100
committerKristian Rietveld <kris@gtk.org>2009-12-30 14:18:33 +0100
commitf91907101d12f4f8808f4024b462820543ccccf6 (patch)
treeacd0b019b274107eb608d6d4f2307867bca3c8d5 /gtk/gtkclipboard-quartz.c
parentc12dbae0ac69d93376fb2091f4919ee36ba3348b (diff)
downloadgtk+-f91907101d12f4f8808f4024b462820543ccccf6.tar.gz
Fix memory management of types array
Also add autorelease pool to gtk_drag_begin_idle().
Diffstat (limited to 'gtk/gtkclipboard-quartz.c')
-rw-r--r--gtk/gtkclipboard-quartz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkclipboard-quartz.c b/gtk/gtkclipboard-quartz.c
index 2868747826..d0cc562625 100644
--- a/gtk/gtkclipboard-quartz.c
+++ b/gtk/gtkclipboard-quartz.c
@@ -370,7 +370,7 @@ gtk_clipboard_set_contents (GtkClipboard *clipboard,
clipboard->target_list = gtk_target_list_new (targets, n_targets);
[clipboard->pasteboard declareTypes:types owner:owner];
-
+ [types release];
[pool release];
return TRUE;