GNOME Bugzilla – Bug 754831
autocleanups: Add GString type
Last modified: 2015-09-21 12:32:24 UTC
.
Created attachment 311068 [details] [review] autocleanups: Add GString type
Review of attachment 311068 [details] [review]: LGTM
Thanks! Attachment 311068 [details] pushed as d19411a - autocleanups: Add GString type
Shouldn't that take a GString **string and then deal with *string? usually if you g_autoptr(Foo) bar; bar will be a Foo* and a Foo** will be passed to the cleanup func. Current implementation looks wrong
(In reply to Marc-Antoine Perennou from comment #4) > Shouldn't that take a GString **string and then deal with *string? > > usually if you g_autoptr(Foo) bar; > > bar will be a Foo* and a Foo** will be passed to the cleanup func. Current > implementation looks wrong No, thats not true. Compare the other cleanup functions in glib-autocleanups.h: none of them takes a Foo**