X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fengine%2Feng_list.c;h=27846edb1e9a4c7540ce3e6b0bfa17e8358951a3;hb=7cc684f4f7fbcdc5cf4683eaf025d4f915acbf3c;hp=66a52b89e0c174d5acf1dfbdcfc66faf86b29631;hpb=7e5b06813d2cf4d314d577d9b11f2cac13835faa;p=oweals%2Fopenssl.git diff --git a/crypto/engine/eng_list.c b/crypto/engine/eng_list.c index 66a52b89e0..27846edb1e 100644 --- a/crypto/engine/eng_list.c +++ b/crypto/engine/eng_list.c @@ -413,6 +413,7 @@ ENGINE *ENGINE_by_id(const char *id) return iterator; } notfound: + ENGINE_free(iterator); ENGINEerr(ENGINE_F_ENGINE_BY_ID,ENGINE_R_NO_SUCH_ENGINE); ERR_add_error_data(2, "id=", id); return NULL;