Re: [Qemu-devel] [PATCH 03/21] object: fix potential leak in getters

2017-04-23 Thread Michael Tokarev
11.03.2017 16:22, Marc-André Lureau wrote: > If the property is not of the requested type, the getters will leak a > QObject. I'm not really sure it's -trivial material. Not applying 01/23 either. Should whole series be applied to the same tree perhaps? Thanks, /mjt

Re: [Qemu-devel] [PATCH 03/21] object: fix potential leak in getters

2017-03-21 Thread Eric Blake
On 03/11/2017 07:22 AM, Marc-André Lureau wrote: > If the property is not of the requested type, the getters will leak a > QObject. > > Signed-off-by: Marc-André Lureau > Cc: qemu-triv...@nongnu.org > --- > qom/object.c | 6 +++--- > 1 file changed, 3 insertions(+),

[Qemu-devel] [PATCH 03/21] object: fix potential leak in getters

2017-03-11 Thread Marc-André Lureau
If the property is not of the requested type, the getters will leak a QObject. Signed-off-by: Marc-André Lureau Cc: qemu-triv...@nongnu.org --- qom/object.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qom/object.c b/qom/object.c index