All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] spice: fix memory leak
@ 2015-02-11 16:44 ` Gerd Hoffmann
  0 siblings, 0 replies; 8+ messages in thread
From: Gerd Hoffmann @ 2015-02-11 16:44 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, pbonzini, Gerd Hoffmann, Luiz Capitulino

Found by coverity.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 monitor.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/monitor.c b/monitor.c
index c3cc060..29d7e5b 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1101,6 +1101,7 @@ static int client_migrate_info(Monitor *mon, const QDict *qdict,
     if (strcmp(protocol, "spice") == 0) {
         if (!qemu_using_spice(&err)) {
             qerror_report_err(err);
+            error_free(local_err);
             return -1;
         }
 
-- 
1.8.3.1



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-02-16  9:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-11 16:44 [Qemu-trivial] [PATCH] spice: fix memory leak Gerd Hoffmann
2015-02-11 16:44 ` [Qemu-devel] " Gerd Hoffmann
2015-02-11 16:44 ` [Qemu-trivial] " Paolo Bonzini
2015-02-11 16:44   ` [Qemu-devel] " Paolo Bonzini
2015-02-16  8:30 ` [Qemu-trivial] " Michael Tokarev
2015-02-16  8:30   ` [Qemu-devel] " Michael Tokarev
2015-02-16  9:40   ` [Qemu-trivial] " Michael Tokarev
2015-02-16  9:40     ` [Qemu-devel] " Michael Tokarev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.