changeset 92:6252979e2453

Fixed a memory leak in the close() method.
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 01 Oct 2001 09:12:01 +0000
parents fedde865563d
children 69352e3cc996
files decoders/mod.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/decoders/mod.c	Tue Sep 25 22:48:57 2001 +0000
+++ b/decoders/mod.c	Mon Oct 01 09:12:01 2001 +0000
@@ -246,6 +246,7 @@
     mod_t *m = (mod_t *) internal->decoder_private;
 
     Player_Free(m->module);
+    free(m);
 } /* MOD_close */