diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-12 05:41:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-12 05:41:16 +0400 |
commit | 30695da26187b9cfb3442f897394a64c4a8422fb (patch) | |
tree | 259e05930f388a6596fc9393d9610091f73050bb /source/blender/nodes/intern | |
parent | f16047c2df1e8be56bf76524f9eb1fa5ecde2176 (diff) |
another fix for [#36694], user submitted a new testfile that crashes without pointer lists being cleared.
Diffstat (limited to 'source/blender/nodes/intern')
-rw-r--r-- | source/blender/nodes/intern/node_exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/intern/node_exec.c b/source/blender/nodes/intern/node_exec.c index 2b6318679e0..812fe5b4ae7 100644 --- a/source/blender/nodes/intern/node_exec.c +++ b/source/blender/nodes/intern/node_exec.c @@ -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; |