# HG changeset patch # User John Tsiombikas # Date 1390438389 -7200 # Node ID 817a5c3a7f96f458e52f5b11a975b283b59cf7d8 # Parent eb024fa08fe6a41cbc5f230dc676092b8f1301f1 fixed a crashing bug in anm_destroy_node introduced when I added the multiple animations per node diff -r eb024fa08fe6 -r 817a5c3a7f96 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);