From 62d93a065fa602bcdeacad6d49816ae84f9e5e03 Mon Sep 17 00:00:00 2001 From: Maschell Date: Wed, 3 Jun 2020 18:20:19 +0200 Subject: [PATCH] elfio: use delete instead of free --- source/elfio/elfio_section.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/elfio/elfio_section.hpp b/source/elfio/elfio_section.hpp index 60e19df..5e1a941 100644 --- a/source/elfio/elfio_section.hpp +++ b/source/elfio/elfio_section.hpp @@ -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);