From 3f97b6d49704fe0101ab42af8600a6ae8b2e650b Mon Sep 17 00:00:00 2001 From: herbglitch Date: Mon, 9 Dec 2024 02:37:02 -0700 Subject: [PATCH] fixed csv memory leak, still needs a lot more testing --- src/std/parser/csv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/std/parser/csv.c b/src/std/parser/csv.c index 7d97e28..b23ccb8 100644 --- a/src/std/parser/csv.c +++ b/src/std/parser/csv.c @@ -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){