diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/rehash.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/rehash.c b/apps/rehash.c index 4fea16fa38..56a6ccea09 100644 --- a/apps/rehash.c +++ b/apps/rehash.c @@ -383,6 +383,7 @@ static int do_dir(const char *dirname, enum Hash h) if ((copy = OPENSSL_strdup(filename)) == NULL || sk_OPENSSL_STRING_push(files, copy) == 0) { OPENSSL_free(copy); + OPENSSL_DIR_end(&d); BIO_puts(bio_err, "out of memory\n"); errs = 1; goto err; |