NIM_Duilib_Framework icon indicating copy to clipboard operation
NIM_Duilib_Framework copied to clipboard

GetDpiImageFullPath函数有泄漏

Open huycode opened this issue 2 years ago • 2 comments

问题现象

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

083147CACDBAEF48852C2469F3BF939F CD1CF2EFA8A695CC9911100C2AD210D0

预期结果

重现步骤

huycode avatar Feb 17 '23 14:02 huycode

存在泄露问题吗

AlongsCode avatar Jun 03 '23 14:06 AlongsCode

GetDpiImageFullPath函数里的hGlobal没有GlobalFree

huycode avatar Jun 06 '23 01:06 huycode