fixed bug #1666873 - LZMA test segfault on Debian GNU/Linux
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4950 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
3694d06099
commit
cb30b6ed2f
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ extern "C" {
|
||||||
#define DECOMPRESSOR(name, type, initf, dec, u) \
|
#define DECOMPRESSOR(name, type, initf, dec, u) \
|
||||||
name::name() { \
|
name::name() { \
|
||||||
vs = new type; \
|
vs = new type; \
|
||||||
|
memset(vs, 0, sizeof(type)); \
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
name::~name() { \
|
name::~name() { \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue