Index: core/fxcodec/lgif/fx_gif.cpp |
diff --git a/core/fxcodec/lgif/fx_gif.cpp b/core/fxcodec/lgif/fx_gif.cpp |
index b94445ccf3eee7d8a710c9ebf9f5865cbc2e36e4..08b008ddb45fd98330cb465d3c9ac1f0f0644394 100644 |
--- a/core/fxcodec/lgif/fx_gif.cpp |
+++ b/core/fxcodec/lgif/fx_gif.cpp |
@@ -418,6 +418,7 @@ void gif_destroy_decompress(gif_decompress_struct_pp gif_ptr_ptr) { |
FX_Free(p->gce_ptr); |
FX_Free(p->pte_ptr); |
delete p->string_ptr; |
+ FX_Free(p); |
} |
gif_ptr->pt_ptr_arr_ptr->RemoveAll(); |
delete gif_ptr->pt_ptr_arr_ptr; |