Fixed logic bug: used wrong variable.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 19 Feb 2009 01:46:18 -0500
changeset 661 a502c4999238
parent 660 d82a22c8ab3d
child 662 50ff6f3eaa4f
Fixed logic bug: used wrong variable.
utils/preprocess.c
--- a/utils/preprocess.c	Thu Feb 19 01:46:01 2009 -0500
+++ b/utils/preprocess.c	Thu Feb 19 01:46:18 2009 -0500
@@ -229,7 +229,7 @@
     } // else
 
     for (i = 0; i < defcount; i++)
-        free((void *) defs[defcount].identifier);
+        free((void *) defs[i].identifier);
     free(defs);
 
     free(include_paths);