diff options
author | Andy Polyakov <appro@openssl.org> | 2005-12-18 19:14:01 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-12-18 19:14:01 +0000 |
commit | 63d3fc91065c32d5cfb366f1e7e413bc607697d6 (patch) | |
tree | 834d7cd5f0d948a7199ad061788c25ec8afd1ba4 | |
parent | 5d7324e42dfe560b3a10634f57c50b63fcf73553 (diff) |
Eliminate possible mapping leak.
-rw-r--r-- | crypto/dso/dso_win32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/dso/dso_win32.c b/crypto/dso/dso_win32.c index e41733097a..b44f25c579 100644 --- a/crypto/dso/dso_win32.c +++ b/crypto/dso/dso_win32.c @@ -704,6 +704,7 @@ static int win32_pathbyaddr(void *addr,char *path,int sz) GetProcAddress(dll,"CreateToolhelp32Snapshot"); if (create_snap == NULL) { + FreeLibrary(dll); DSOerr(DSO_F_PATHBYADDR,DSO_R_UNSUPPORTED); return -1; } |