commit | aa38e605634e5ce8357d610655d6eb72c3e7d2d2 | [log] [tgz] |
---|---|---|
author | H.J. Lu <hjl.tools@gmail.com> | Tue Apr 09 16:04:49 2024 -0700 |
committer | H.J. Lu <hjl.tools@gmail.com> | Tue Apr 16 06:31:47 2024 -0700 |
tree | f39a6317c66d80e672c8da7c3408101c9c398216 | |
parent | 21061c384c510e13b56c3991adf31ad85e80a824 [diff] |
gas: Free unused memory in scfi_ops_cleanup * scfi.c (scfi_ops_cleanup): Free op->op_data and head.
diff --git a/gas/scfi.c b/gas/scfi.c index b29e922..744822d 100644 --- a/gas/scfi.c +++ b/gas/scfi.c
@@ -141,10 +141,13 @@ while (op) { + free (op->op_data); free (op); op = next; next = op ? op->next : NULL; } + + free (head); } /* Compare two SCFI states. */