[Spice-devel] [PATCH spice-server 04/20] Free state on spice_server_destroy
Frediano Ziglio
fziglio at redhat.com
Thu Nov 24 17:38:51 UTC 2016
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
server/reds.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/server/reds.c b/server/reds.c
index 1b1c737..c5e84ec 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -3603,6 +3603,7 @@ SPICE_GNUC_VISIBLE void spice_server_destroy(SpiceServer *reds)
#ifdef RED_STATISTICS
stat_file_free(reds->stat_file);
#endif
+ free(reds);
}
SPICE_GNUC_VISIBLE spice_compat_version_t spice_get_current_compat_version(void)
--
2.9.3
More information about the Spice-devel
mailing list