use internal allocator

This commit is contained in:
Dave Murphy 2010-02-11 10:08:16 +00:00
parent 79e3dc0948
commit 0f96214202

View File

@ -203,7 +203,7 @@ void fatGetVolumeLabel (const char* name, char *label) {
return;
namelen = strlen(name);
buf=(char*)malloc(sizeof(char)*namelen+2);
buf=(char*)_FAT_mem_allocate(sizeof(char)*namelen+2);
strcpy(buf,name);
if (name[namelen-1] == '/') {