shithub: choc

Download patch

ref: e56c9c948df1ad0e2ff2b64d8593caefbf98fd11
parent: 71d8ef248f4f1a05646f5e1e7e6388a59f08b121
author: Simon Howard <fraggle@gmail.com>
date: Sun Mar 30 14:21:13 EDT 2014

music: Free string using free() rather than Z_Free().

Mistake introduced in previous commit.

--- a/src/i_sdlmusic.c
+++ b/src/i_sdlmusic.c
@@ -133,7 +133,7 @@
     if (temp_timidity_cfg != NULL)
     {
         remove(temp_timidity_cfg);
-        Z_Free(temp_timidity_cfg);
+        free(temp_timidity_cfg);
     }
 }