7bd3c9f
@@ -300,6 +300,7 @@
&data_in,
&enc_handle);
if (ret) {
+ free(enc_handle.ciphertext.data);
ret = EINVAL;
goto done;
}
@@ -308,12 +309,12 @@
enc_handle.ciphertext.data,
out);
done:
free(padded);
- free(enc_handle.ciphertext.data);
return ret;
Signed-off-by: Robbie Harwood rharwood@redhat.com
Sigh, will we ever stop adding bugs in here :-) LGTM.
Commit eafa3c9 fixes this pull-request
Pull-Request has been merged by rharwood
Signed-off-by: Robbie Harwood rharwood@redhat.com