mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-25 06:06:53 +01:00
elfio: use delete instead of free
This commit is contained in:
parent
48683e167e
commit
62d93a065f
@ -288,7 +288,7 @@ class section_impl : public section
|
|||||||
|
|
||||||
inflateEnd(&s);
|
inflateEnd(&s);
|
||||||
|
|
||||||
free(data);
|
delete [] data;
|
||||||
data = uncompressedData;
|
data = uncompressedData;
|
||||||
data_size = uncompressed_size;
|
data_size = uncompressed_size;
|
||||||
set_size(uncompressed_size);
|
set_size(uncompressed_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user