zip_wrapper.cpp, line 146:
(this was called 10 times in my trial run)
void zip_file_free_current(ZipCDR *data)
{
if (data==NULL)
return;
if (data->filename)
==> delete data->filename;
data->filename=NULL;
}
above code is trying to delete memory allocated with malloc.
from zip_header.cpp (line 284), within this function:
int zip_read_central_dir_record(FILE *file,ZipCDR *h)
{
...
if (h->filenamelen>0) {
==> h->filename=(char*)malloc(h->filenamelen+1);
if (h->filename) {
fread(h->filename,h->filenamelen,1,file);
h->filename[h->filenamelen]='\0';
}
}
...
}
the fix, obviously, is to call free instead of delete within
the zip_file_free_current() function.
piddly little bug, but trying to clean up the entire app & make it
commercial quality :-)
-Jason
_______________________________________________
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev