After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697585 - g_variant_builder_add's doc example is leaking
g_variant_builder_add's doc example is leaking
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gvariant
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Allison Karlitskaya (desrt)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-04-08 18:18 UTC by Xavier Claessens
Modified: 2013-11-23 18:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Xavier Claessens 2013-04-08 18:18:29 UTC
g_variant_builder_end() does not unref the builder. The example should use a builder on stack instead of g_variant_builder_new().
Comment 1 Xavier Claessens 2013-04-08 18:19:46 UTC
Same in g_variant_builder_add_parsed()