summaryrefslogtreecommitdiffstats
path: root/crypto/dso/dso_win32.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-07-15 13:02:24 +0200
committerDr. Stephen Henson <steve@openssl.org>2009-07-15 13:02:24 +0200
commit6bb7dc1e903493854b8b13601449b71941fc58a6 (patch)
tree4f23c2de1de4d65f63d25dccfc8663ce206dd8be /crypto/dso/dso_win32.c
parentUpdates from 1.0.0-stable. (diff)
downloadopenssl-6bb7dc1e903493854b8b13601449b71941fc58a6.tar.xz
openssl-6bb7dc1e903493854b8b13601449b71941fc58a6.zip
Updates from 1.0.0-stable
Diffstat (limited to 'crypto/dso/dso_win32.c')
-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 c5b00c0d13..6fb6c54181 100644
--- a/crypto/dso/dso_win32.c
+++ b/crypto/dso/dso_win32.c
@@ -355,6 +355,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;
@@ -621,6 +622,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);
}