fixed memleak

This commit is contained in:
zicodxx 2007-06-15 08:23:19 +00:00
parent 67531a86d0
commit 48c302985c
2 changed files with 2 additions and 0 deletions

View file

@ -3,6 +3,7 @@ D1X-Rebirth Changelog
20070615
--------
SConstruct, arch/sdl/digi.c: complete removal of hmiplay-code usage
main/text.c: fixed memleak
20070614
--------

View file

@ -204,6 +204,7 @@ void load_text()
strcpy(buf,p+2);
strcpy(p+1,buf);
p++;
free(buf);
}
switch(i) {