summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/helpers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c
index 78d359fe..0d074087 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -530,6 +530,8 @@ FILE *OpenDataFile(const char *fname, const char *subdir)
if((f=_wfopen(buffer, L"rb")) != NULL)
{
TRACE("Opened %ls\n", buffer);
+ free(wname);
+ free(wsubdir);
return f;
}
}