From a7834611d12bd8b45ecd92a06e93436b1feabcc4 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Fri, 22 Feb 2019 09:08:53 +1100 Subject: [PATCH] [client] spice: fix memory leak --- client/spice/spice.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/spice/spice.c b/client/spice/spice.c index 198d7eae..96621b9d 100644 --- a/client/spice/spice.c +++ b/client/spice/spice.c @@ -991,6 +991,7 @@ bool spice_agent_process() SDL_SetClipboardText(out); free(text); + free(out); return true; } else