fixed csv memory leak, still needs a lot more testing

This commit is contained in:
herbglitch 2024-12-09 02:37:02 -07:00
parent 2ef7a93d5a
commit 3f97b6d497

View file

@ -294,8 +294,10 @@ void ARC_ParserCSVData_DestroyFn(void *data, ARC_Bool clear, void *userData){
//cleanup each row of data
free(csvData->data[y]);
}
//cleanup the data
free(csvData->data);
free(csvData);
}
if(clear == ARC_False){