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:
kichik 2006-03-17 20:55:06 +00:00
parent 4899ab09c9
commit 3bc88ed854

View file

@ -114,6 +114,8 @@ NSISFunction(GetLibVersion) {
wsprintf(buf, "%d", typelibAttr->wMinorVerNum);
pushstring(buf);
typeLib->ReleaseTLibAttr(typelibAttr);
}
typeLib->Release();