elan: Do not leak converted frames
The elan driver converts frames into a different format. These frames are only needed to assemable the image and should be free'ed afterwards. Fixes: #213
This commit is contained in:
parent
113bef8f3f
commit
9c806e60f4
1 changed files with 2 additions and 0 deletions
|
@ -321,6 +321,8 @@ elan_submit_image (FpImageDevice *dev)
|
|||
fpi_do_movement_estimation (&assembling_ctx, frames);
|
||||
img = fpi_assemble_frames (&assembling_ctx, frames);
|
||||
|
||||
g_slist_free_full (frames, g_free);
|
||||
|
||||
fpi_image_device_image_captured (dev, img);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue