mm-video-v4l2: Avoid memory leak due to loss of fd

In case of dynamic buffer mode when FTB proxy is called
reference to the fd is added to the list. However
when qbuf to driver fails during HW overload ,fd's
which were added in the list were not removed and
resulting in to a leak.

Remove the fd reference when qbuf to the driver fails.

Change-Id: I11a960091af1a2f29b8bc0c933a414455db7ff70
CRs-Fixed: 1051720
1 file changed