Commit 400cacf8 authored by Benjamin Berg's avatar Benjamin Berg

elan: Fix memory leak in elan_submit_image

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.
parent 4cec2841
Pipeline #43455 passed with stages
in 4 minutes and 33 seconds