]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: value_type of PointerIndirection expressions must not be owned
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 21 Dec 2020 12:52:54 +0000 (13:52 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 21 Dec 2020 12:52:54 +0000 (13:52 +0100)
commitdf7a984607f55338ff2dde6f2fd324dc363a46b4
tree992cbd0a005368251d0b068342d4d0e0af2a1545
parent60f257854f2ed0f2fd24101112fd75b65494572b
vala: value_type of PointerIndirection expressions must not be owned

A member-access making the wrong assumption of a previous copy resulted
in a double free.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1118
tests/Makefile.am
tests/semantic/localvariable-var-pointer-initializer.vala [new file with mode: 0644]
vala/valapointerindirection.vala