always push something in TypeLib::GetLibVersion to avoid stack corruption
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4659 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
be2557be2b
commit
6ba36e9ef4
1 changed files with 10 additions and 0 deletions
|
@ -117,9 +117,19 @@ NSISFunction(GetLibVersion) {
|
||||||
typeLib->ReleaseTLibAttr(typelibAttr);
|
typeLib->ReleaseTLibAttr(typelibAttr);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
pushstring("0");
|
||||||
|
pushstring("0");
|
||||||
|
}
|
||||||
|
|
||||||
typeLib->Release();
|
typeLib->Release();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
pushstring("0");
|
||||||
|
pushstring("0");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue