From e6ff9302f95a0e68857fa42ba1c55516e4ee3750 Mon Sep 17 00:00:00 2001 From: viest Date: Thu, 21 Nov 2019 14:12:57 +0800 Subject: [PATCH] Fix: cell dup free --- kernel/read.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/read.c b/kernel/read.c index dc30bcd..f962ea4 100644 --- a/kernel/read.c +++ b/kernel/read.c @@ -232,6 +232,8 @@ unsigned int load_sheet_current_row_data(xlsxioreadersheet sheet_t, zval *zv_res } data_to_custom_type(_string_value, _type, zv_result_t); + + free(_string_value); } return XLSWRITER_TRUE;