summaryrefslogtreecommitdiff
path: root/redo/group_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'redo/group_unix.go')
-rw-r--r--redo/group_unix.go2
1 files changed, 1 insertions, 1 deletions
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})