Sfoglia il codice sorgente

Fix: cell dup free

viest 5 anni fa
parent
commit
e6ff9302f9
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      kernel/read.c

+ 2 - 0
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;