Small safety fix: clear temporary link list in node space when copying.

This commit is contained in:
Lukas Toenne
2011-03-15 19:55:45 +00:00
parent b8f96b191b
commit 6864fcba30

View File

@@ -283,6 +283,7 @@ static SpaceLink *node_duplicate(SpaceLink *sl)
/* clear or remove stuff from old */
snoden->nodetree= NULL;
snoden->linkdrag.first= snoden->linkdrag.last= NULL;
return (SpaceLink *)snoden;
}