Browse Source
On error path, ctx may be leaked. Assign ctx earlier, and call qcrypto_cipher_free() on error. Spotted thanks to ASAN. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>pull/52/head
committed by
Daniel P. Berrange
1 changed files with 2 additions and 3 deletions
Loading…
Reference in new issue