release typelib attribute structure when exiting GetLibVersion
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4601 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
4899ab09c9
commit
3bc88ed854
1 changed files with 2 additions and 0 deletions
|
@ -114,6 +114,8 @@ NSISFunction(GetLibVersion) {
|
||||||
wsprintf(buf, "%d", typelibAttr->wMinorVerNum);
|
wsprintf(buf, "%d", typelibAttr->wMinorVerNum);
|
||||||
pushstring(buf);
|
pushstring(buf);
|
||||||
|
|
||||||
|
typeLib->ReleaseTLibAttr(typelibAttr);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
typeLib->Release();
|
typeLib->Release();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue