qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1/2] Set xbzrle buffers to NULL after freeing them to avoid double free errors
@ 2014-01-07 15:50 Orit Wasserman
  2014-01-07 15:50 ` [Qemu-devel] [PATCH 2/2] Add check for cache size smaller than page size Orit Wasserman
  2014-01-14 15:25 ` [Qemu-devel] [PATCH 1/2] Set xbzrle buffers to NULL after freeing them to avoid double free errors Juan Quintela
  0 siblings, 2 replies; 4+ messages in thread
From: Orit Wasserman @ 2014-01-07 15:50 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, Orit Wasserman, quintela

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
---
 arch_init.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch_init.c b/arch_init.c
index e0acbc5..5c55c68 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -587,6 +587,9 @@ static void migration_end(void)
         g_free(XBZRLE.current_buf);
         g_free(XBZRLE.decoded_buf);
         XBZRLE.cache = NULL;
+        XBZRLE.encoded_buf = NULL;
+        XBZRLE.current_buf = NULL;
+        XBZRLE.decoded_buf = NULL;
     }
 }
 
-- 
1.8.3.1

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

end of thread, other threads:[~2014-01-14 15:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-07 15:50 [Qemu-devel] [PATCH 1/2] Set xbzrle buffers to NULL after freeing them to avoid double free errors Orit Wasserman
2014-01-07 15:50 ` [Qemu-devel] [PATCH 2/2] Add check for cache size smaller than page size Orit Wasserman
2014-01-14 15:25   ` Juan Quintela
2014-01-14 15:25 ` [Qemu-devel] [PATCH 1/2] Set xbzrle buffers to NULL after freeing them to avoid double free errors Juan Quintela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).