提交 63d3fc91 编写于 作者: A Andy Polyakov

Eliminate possible mapping leak.

上级 5d7324e4
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册