]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Fix memory leak when using object initializer for properties c0e955db075d3d155782c167a0abb81e0dce5f59
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 20 Jan 2017 17:09:38 +0000 (18:09 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 12 Feb 2017 18:23:52 +0000 (19:23 +0100)
commitc0e955db075d3d155782c167a0abb81e0dce5f59
tree80975f055a304dc14ecd71e1211e2c43e2e0c94f
parent4cab2c262b03b10ffebe2254586be57723bfe475
codegen: Fix memory leak when using object initializer for properties

Assigning values to properties this way leads to a ref/copy of the source
and therefore requires a unref/destroy afterwards.

https://bugzilla.gnome.org/show_bug.cgi?id=766739
codegen/valaccodebasemodule.vala
tests/Makefile.am
tests/objects/bug766739.vala [new file with mode: 0644]