[gtk+/gtk-2-24] quartz: release pattern in GC finalize
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] quartz: release pattern in GC finalize
- Date: Sun, 24 Oct 2010 12:54:24 +0000 (UTC)
commit 15eecb164523df72aa7e03b28bbeafb64d077496
Author: Kristian Rietveld <kris gtk org>
Date: Thu Oct 21 21:15:47 2010 +0200
quartz: release pattern in GC finalize
gdk/quartz/gdkgc-quartz.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gdk/quartz/gdkgc-quartz.c b/gdk/quartz/gdkgc-quartz.c
index 8b60a02..21cc598 100644
--- a/gdk/quartz/gdkgc-quartz.c
+++ b/gdk/quartz/gdkgc-quartz.c
@@ -195,6 +195,9 @@ gdk_gc_quartz_finalize (GObject *object)
if (private->clip_mask)
CGImageRelease (private->clip_mask);
+ if (private->ts_pattern)
+ CGPatternRelease (private->ts_pattern);
+
G_OBJECT_CLASS (parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]