gdbus-codegen: Fix segfault when remote property is invalidated
authorTomas Bzatek <tbzatek@redhat.com>
Wed, 14 Sep 2011 17:02:01 +0000 (19:02 +0200)
committerTomas Bzatek <tbzatek@redhat.com>
Wed, 14 Sep 2011 17:02:01 +0000 (19:02 +0200)
commit659b287a92d951d7121584587cb7aefa28e88416
tree26cded2e447c413b829465d9d0686016d539eb59
parent53e52d9f72e8c367b177852d1bbc40235bab6d2d
gdbus-codegen: Fix segfault when remote property is invalidated

The 'key' variable is no longer valid outside the cycle, owned and
probably already freed by GVariant. This causes apps to segfault
when proxy is constructed and a property on remote d-bus service
changes (actually is invalidated). Looks like a typo anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=659070
gio/gdbus-2.0/codegen/codegen.py