Skip to content
Commit f00c08cb authored by Paolo Bonzini's avatar Paolo Bonzini Committed by Michael Roth
Browse files

curl: strengthen assertion in curl_clean_state



curl_clean_state should only be called after all AIOCBs have been
completed.  This is not so obvious for the call from curl_detach_aio_context,
so assert that.

Cc: qemu-stable@nongnu.org
Reviewed-by: default avatarJeff Cody <jcody@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
Message-id: 20170515100059.15795-2-pbonzini@redhat.com
Signed-off-by: default avatarJeff Cody <jcody@redhat.com>
(cherry picked from commit 675a7756)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent d81db0be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment