mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Eliminate possible mapping leak.
This commit is contained in:
parent
5d7324e42d
commit
63d3fc9106
@ -704,6 +704,7 @@ static int win32_pathbyaddr(void *addr,char *path,int sz)
|
|||||||
GetProcAddress(dll,"CreateToolhelp32Snapshot");
|
GetProcAddress(dll,"CreateToolhelp32Snapshot");
|
||||||
if (create_snap == NULL)
|
if (create_snap == NULL)
|
||||||
{
|
{
|
||||||
|
FreeLibrary(dll);
|
||||||
DSOerr(DSO_F_PATHBYADDR,DSO_R_UNSUPPORTED);
|
DSOerr(DSO_F_PATHBYADDR,DSO_R_UNSUPPORTED);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user