From 278607aabf72c80df3225b1fd3bf1965cea4528a Mon Sep 17 00:00:00 2001 From: ifyGecko <26214995+ifyGecko@users.noreply.github.com> Date: Tue, 8 Aug 2023 22:41:56 -0400 Subject: [PATCH] Update le.c (#3734) free'ng the header is covered by fail_cleanup label --- librz/bin/format/le/le.c | 1 - 1 file changed, 1 deletion(-) diff --git a/librz/bin/format/le/le.c b/librz/bin/format/le/le.c index ea7b2c7625..19e84511f5 100644 --- a/librz/bin/format/le/le.c +++ b/librz/bin/format/le/le.c @@ -530,7 +530,6 @@ static bool le_load_header(rz_bin_le_obj_t *bin) { !rz_buf_read_le32_offset(bin->buf, &off, &bin->header->instdemand) || !rz_buf_read_le32_offset(bin->buf, &off, &bin->header->heapsize) || !rz_buf_read_le32_offset(bin->buf, &off, &bin->header->stacksize)) { - free(bin->header); return false; }