On Fri, Feb 28, 2014 at 06:42:10PM +0100, Hans Verkuil wrote: > From: Hans Verkuil <hans.verkuil@xxxxxxxxx> > > If __reqbufs was called then existing buffers are freed. However, if that > happens without ever having started STREAMON, but if buffers have been queued, > then the buf_finish op is never called. > > Add a call to __vb2_queue_cancel in __reqbufs so that these buffers are > cleaned up there as well. > > Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx> Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> -- Sakari Ailus e-mail: sakari.ailus@xxxxxx XMPP: sailus@xxxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html