GVariantBuilder: small documentation fixes
authorMatthias Clasen <mclasen@redhat.com>
Sat, 23 Nov 2013 18:16:06 +0000 (13:16 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 23 Nov 2013 18:16:06 +0000 (13:16 -0500)
commit330905587860ee83a1931ad3b6794cdfde35f582
tree4cc0bb8114c84abb87c2f08d793740fef5276ea3
parent4382e8b876a3991e1be2827be76630e1b67b8e03
GVariantBuilder: small documentation fixes

The examples for g_variant_builder_add and
g_variant_builder_add_parsed were leaking a heap-allocated
builder. Fix that by converting the examples to stack
allocation.

https://bugzilla.gnome.org/show_bug.cgi?id=697585
https://bugzilla.gnome.org/show_bug.cgi?id=703522
glib/gvariant-parser.c
glib/gvariant.c