Closed kainjow closed 6 years ago
Here's the screenshot:
I'm about 99% sure this code is incorrect (since CoTaskMemFree
"Frees a block of task memory previously allocated through a call to the CoTaskMemAlloc or CoTaskMemRealloc function.") but just want to make sure I'm not missing something.
Fixed in #7.
In
createShellLinkHelper()
exePath
andslPath
are stack variables, yetCoTaskMemFree()
is being called on both. Isn't this incorrect?I ask because I've received a crash report (intermittent) in
initialize() -> createShellHelper()
line 373.