Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetDpiImageFullPath函数有泄漏 #475

Open
huycode opened this issue Feb 17, 2023 · 2 comments
Open

GetDpiImageFullPath函数有泄漏 #475

huycode opened this issue Feb 17, 2023 · 2 comments

Comments

@huycode
Copy link

huycode commented Feb 17, 2023

问题现象

在zip里获取dpi后缀资源的时的zip句柄没有释放啊,内存一直涨。
GetDpiImageFullPath函数传进去空的HGLOBAL hGlobal,在函数里赋值了,可是没有释放,而且这个参数值也传不回来啊。
直接就在GetDpiImageFullPath函数里定义hGlobal,释放hGlobal不可以嘛?

083147CACDBAEF48852C2469F3BF939F
CD1CF2EFA8A695CC9911100C2AD210D0

预期结果

重现步骤

@AlongsCode
Copy link

存在泄露问题吗

@huycode
Copy link
Author

huycode commented Jun 6, 2023

GetDpiImageFullPath函数里的hGlobal没有GlobalFree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants