From 526228b78e24b65684ec335e1d495f50a2daf9ea Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 15 Jul 2009 11:03:08 +0000 Subject: [PATCH] Update from 1.0.0-stable. --- crypto/dso/dso_win32.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crypto/dso/dso_win32.c b/crypto/dso/dso_win32.c index e8b29ab1e1..f340052a1a 100644 --- a/crypto/dso/dso_win32.c +++ b/crypto/dso/dso_win32.c @@ -347,6 +347,7 @@ static struct file_st *win32_splitter(DSO *dso, const char *filename, DSOerr(DSO_F_WIN32_SPLITTER, DSO_R_INCORRECT_FILE_SYNTAX); /*goto err;*/ + OPENSSL_free(result); return(NULL); } result->device = start; @@ -613,6 +614,8 @@ static char *win32_merger(DSO *dso, const char *filespec1, const char *filespec2 merged = win32_joiner(dso, filespec1_split); } + OPENSSL_free(filespec1_split); + OPENSSL_free(filespec2_split); return(merged); } -- 2.25.1