Commit f6c6483b authored by Orit Wasserman's avatar Orit Wasserman Committed by Juan Quintela
Browse files

Set xbzrle buffers to NULL after freeing them to avoid double free errors

Signed-off-by: default avatarOrit Wasserman <>
Reviewed-by: default avatarJuan Quintela <>
Reviewed-by: default avatarEric Blake <>
Signed-off-by: default avatarJuan Quintela <>
parent f9ee9f9a
......@@ -617,6 +617,9 @@ static void migration_end(void)
XBZRLE.cache = NULL;
XBZRLE.encoded_buf = NULL;
XBZRLE.current_buf = NULL;
XBZRLE.decoded_buf = NULL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment