[Spice-devel] [spice-gtk] namedpipelistener: do not leak the error message
Fabiano FidĂȘncio
fidencio at redhat.com
Tue Feb 23 08:06:22 UTC 2016
From: Ignacio Casal Quinteiro <icq at gnome.org>
---
src/controller/namedpipelistener.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/controller/namedpipelistener.c b/src/controller/namedpipelistener.c
index 820c606..b4b6057 100644
--- a/src/controller/namedpipelistener.c
+++ b/src/controller/namedpipelistener.c
@@ -126,6 +126,7 @@ connect_ready (gpointer user_data)
G_IO_ERROR_INVALID_ARGUMENT,
"GetOverlappedResult(): %s %d",
emsg, errsv);
+ g_free (emsg);
}
g_simple_async_result_complete (c->async_result);
--
2.5.0
More information about the Spice-devel
mailing list