Be consistent with the rest of MPD, and don't use the non-portable header "malloc.h".
Attach a file by drag & drop or click to upload