STORE: fix possible memory leak
authorRichard Levitte <levitte@openssl.org>
Tue, 4 Jul 2017 15:18:31 +0000 (17:18 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 4 Jul 2017 16:00:09 +0000 (18:00 +0200)
commit59099d6b8a3aec77f7d9f310ebf8e31b09c2d518
treedb5e70aaf78e30e808e547018275df611bb79f07
parent43a0449fe6ce18b750803be8a115a412a7235496
STORE: fix possible memory leak

If scheme is NULL, the allocated res is leaked

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3841)
crypto/store/store_register.c