changeset 1114:7aaab1533c90

Free the source module data at end.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 04 Mar 2015 01:51:00 +0200
parents 28dcf10fb8a9
children bfed0d5f8e8b
files tools/xm2jss.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tools/xm2jss.c	Wed Mar 04 01:50:49 2015 +0200
+++ b/tools/xm2jss.c	Wed Mar 04 01:51:00 2015 +0200
@@ -1069,6 +1069,8 @@
     
     result = jssSaveJSSMOD(outFile, dm, optPatternMode, optSampMode8, optSampMode16);
 
+    dmFree(sm);
+
     fclose(outFile);
     
     if (result != 0)