another fix for [#36694], user submitted a new testfile that crashes without pointer lists being cleared.

This commit is contained in:
Campbell Barton 2013-09-12 01:41:16 +00:00
parent f16047c2df
commit 30695da261
1 changed files with 2 additions and 2 deletions

View File

@ -287,8 +287,8 @@ void ntreeReleaseThreadStack(bNodeThreadStack *nts)
bool ntreeExecThreadNodes(bNodeTreeExec *exec, bNodeThreadStack *nts, void *callerdata, int thread)
{
bNodeStack *nsin[MAX_SOCKET]; /* arbitrary... watch this */
bNodeStack *nsout[MAX_SOCKET]; /* arbitrary... watch this */
bNodeStack *nsin[MAX_SOCKET] = {NULL}; /* arbitrary... watch this */
bNodeStack *nsout[MAX_SOCKET] = {NULL}; /* arbitrary... watch this */
bNodeExec *nodeexec;
bNode *node;
int n;