From 444f14065724b07666e92ff83ce417b5aef75e02 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 16 Aug 2014 09:26:46 -0400 Subject: Cleaned up after bold attributes in group_unix.go. --- redo/group_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'redo/group_unix.go') diff --git a/redo/group_unix.go b/redo/group_unix.go index 7c4e73d..ad3bef0 100644 --- a/redo/group_unix.go +++ b/redo/group_unix.go @@ -43,7 +43,7 @@ func newGroup(text string, control Control) Group { boldlist := C.pango_attr_list_new() C.pango_attr_list_insert(boldlist, bold) C.gtk_label_set_attributes(label, boldlist) - // TODO free either bold or boldlist? + C.pango_attr_list_unref(boldlist) // thanks baedert in irc.gimp.net/#gtk+ g.container = newContainer(control) g.container.setParent(&controlParent{g.gcontainer}) -- cgit v1.2.3