Re: [Qemu-devel] [PATCH] tests: check-qom-proplist: fix leak

2017-07-10 Thread Markus Armbruster
Copying qemu-trivial. Marc-André Lureau writes: > user_creatable_add_opts() returns a reference (the other reference is > for the root parent/child link). > > Leak introduced in commit a1af255f065cc. > > Signed-off-by: Marc-André Lureau > --- > tests/check-qom-proplist.c | 2 ++ > 1 file chang

Re: [Qemu-devel] [PATCH] tests: check-qom-proplist: fix leak

2017-06-09 Thread Eric Blake
On 06/09/2017 10:34 AM, Markus Armbruster wrote: > Eric Blake writes: > >> On 06/09/2017 08:33 AM, Marc-André Lureau wrote: >>> user_creatable_add_opts() returns a reference (the other reference is >>> for the root parent/child link). >>> >>> Leak introduced in commit a1af255f065cc. >>> >>> Signe

Re: [Qemu-devel] [PATCH] tests: check-qom-proplist: fix leak

2017-06-09 Thread Markus Armbruster
Eric Blake writes: > On 06/09/2017 08:33 AM, Marc-André Lureau wrote: >> user_creatable_add_opts() returns a reference (the other reference is >> for the root parent/child link). >> >> Leak introduced in commit a1af255f065cc. >> >> Signed-off-by: Marc-André Lureau >> --- >> tests/check-qom-pr

Re: [Qemu-devel] [PATCH] tests: check-qom-proplist: fix leak

2017-06-09 Thread Eric Blake
On 06/09/2017 08:33 AM, Marc-André Lureau wrote: > user_creatable_add_opts() returns a reference (the other reference is > for the root parent/child link). > > Leak introduced in commit a1af255f065cc. > > Signed-off-by: Marc-André Lureau > --- > tests/check-qom-proplist.c | 2 ++ > 1 file chang

[Qemu-devel] [PATCH] tests: check-qom-proplist: fix leak

2017-06-09 Thread Marc-André Lureau
user_creatable_add_opts() returns a reference (the other reference is for the root parent/child link). Leak introduced in commit a1af255f065cc. Signed-off-by: Marc-André Lureau --- tests/check-qom-proplist.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/check-qom-proplist.c b/test