elan: fix frame leak in elan_submit_image

2 jobs for elan-fix-frame-leak in 7 minutes and 47 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #70550
build

00:03:13

 
  Test
passed #70551
flatpak master

00:04:33