Re: [patch] media: s5p-mfc: fix a couple double frees in probe

2016-06-13 Thread Javier Martinez Canillas
Hello Dan, On Sat, Jun 11, 2016 at 3:56 PM, Dan Carpenter wrote: > The extra calls to video_device_release() are a bug, we free these after > the goto. > > Fixes: c974c436eaf4 ('s5p-mfc: Fix race between s5p_mfc_probe() and > s5p_mfc_open()') > Signed-off-by: Dan

[patch] media: s5p-mfc: fix a couple double frees in probe

2016-06-11 Thread Dan Carpenter
The extra calls to video_device_release() are a bug, we free these after the goto. Fixes: c974c436eaf4 ('s5p-mfc: Fix race between s5p_mfc_probe() and s5p_mfc_open()') Signed-off-by: Dan Carpenter --- This code would be easier to understand if it didn't use "come from"