# HG changeset patch # User John Tsiombikas # Date 1390438389 -7200 # Node ID b52f3e23e06f60134a085916a98f25642917c456 # Parent ebead35c9eb1bdcba7a3f764309851deaceddb22 fixed a crashing bug in anm_destroy_node introduced when I added the multiple animations per node diff -r ebead35c9eb1 -r b52f3e23e06f src/anim.c --- a/src/anim.c Mon Dec 30 15:22:44 2013 +0200 +++ b/src/anim.c Thu Jan 23 02:53:09 2014 +0200 @@ -75,10 +75,11 @@ void anm_destroy_node(struct anm_node *node) { - int i; + int i, num_anim; free(node->name); - for(i=0; ianimations + i); } dynarr_free(node->animations);