GDBusConnection: Document memory management semantics for get_property()
authorDavid Zeuthen <davidz@redhat.com>
Wed, 25 Aug 2010 18:45:28 +0000 (14:45 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 25 Aug 2010 18:49:05 +0000 (14:49 -0400)
commit0d0a9bb4485069a56caf139346e6a6aad81c4efd
tree57b1757f54cd91e00e3dcee9a7bca0a6f801ae0d
parentd31c1c863a357e94b87529dfdfb6abad3fcef84b
GDBusConnection: Document memory management semantics for get_property()

Turns out we are leaking non-floating GVariant instances returned by
get_property() functions.

Also avoid imprecise language such as "newly-allocated GVariant" as
this doesn't specify whether the variant can be floating or not.

Also see https://bugzilla.gnome.org/show_bug.cgi?id=627974 as it is
very related to this change.

Signed-off-by: David Zeuthen <davidz@redhat.com>
gio/gdbusconnection.c
gio/gdbusconnection.h