elfio: use delete instead of free

This commit is contained in:
Maschell 2020-06-03 18:20:19 +02:00
parent 48683e167e
commit 62d93a065f

View File

@ -288,7 +288,7 @@ class section_impl : public section
inflateEnd(&s);
free(data);
delete [] data;
data = uncompressedData;
data_size = uncompressed_size;
set_size(uncompressed_size);