summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-07-15 11:03:08 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-07-15 11:03:08 +0000
commit526228b78e24b65684ec335e1d495f50a2daf9ea (patch)
tree40f3b2f6ec729a6a10d9b6ae0be0e096c7374044 /crypto
parent34d01a3b20860252c04df0197f95486d4ee8128e (diff)
Update from 1.0.0-stable.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/dso/dso_win32.c3
1 files changed, 3 insertions, 0 deletions
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);
}