Whoops, forgot to free return value when finished with it.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 01 Nov 2010 02:30:31 -0400
changeset 934 f6ecea50c607
parent 933 f2367f48f3e2
child 935 bef902f8b4d9
Whoops, forgot to free return value when finished with it.
utils/mojoshader-compiler.c
--- a/utils/mojoshader-compiler.c	Mon Nov 01 02:29:38 2010 -0400
+++ b/utils/mojoshader-compiler.c	Mon Nov 01 02:30:31 2010 -0400
@@ -777,6 +777,7 @@
         else
             retval = 1;
     } // else
+    MOJOSHADER_freeAstData(ad);
 
     return retval;
 } // ast