Skip to content

elan: Fix memory leak in elan_submit_image

Benjamin Berg requested to merge benzea/fix-elan-leak into master

elan_submit_image would modify the list of received frames in place, without freeing the associated memory. Fix this by using a local variable so that the list remains unmodified and is fully released by elan_dev_reset.

Merge request reports