[metacity/cowbell] fix memory leak
- From: Thomas James Alexander Thurman <tthurman src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [metacity/cowbell] fix memory leak
- Date: Mon, 19 Oct 2009 19:51:05 +0000 (UTC)
commit 61fbda51478c47f58a81de519c0930685c597f78
Author: Thomas Thurman <tthurman gnome org>
Date: Mon Oct 19 15:50:56 2009 -0400
fix memory leak
src/ui/theme.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ui/theme.c b/src/ui/theme.c
index a9f0812..a5d15db 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -455,6 +455,7 @@ cowbell_title_text (ccss_stylesheet_t *stylesheet,
pango_layout_set_text (layout, text, -1);
ccss_style_destroy (style);
+ pango_attr_list_unref (attrs);
return layout;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]