summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJunyan He <junyan.he@linux.intel.com>2015-12-14 14:51:26 +0800
committerYang Rong <rong.r.yang@intel.com>2015-12-21 11:26:58 +0800
commit032b606f8c5baa53e52b1f55c4f7c0bafdd6ff37 (patch)
tree0e8de1dded7300444d000d89761941a62eb58e33 /examples
parent607ff9adc473eaac07c9ad85a12285a84e00a684 (diff)
Backend: Fix a memory leak for structurizer.HEADmaster
In structurizer, the useless instruction is just be erased from block. The iintrusive_list::erase() just unlink the instruction, but not free its resource. We should use remove() to deallocate the instruction object. Signed-off-by: Junyan He <junyan.he@linux.intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions