Re: [PATCH 4.4 49/72] media: usbtv: prevent double free in error case
From
Oliver Neukum <>
Date
Tue, 15 May 2018 11:53:27 +0200
Am Montag, den 14.05.2018, 18:41 +0100 schrieb Ben Hutchings: > > Shouldn't this bump the V4L2 device's reference count, i.e.: > > v4l2_device_get(&usbtv->v4l2_dev); >
<censored>
You are right. Mixing refcounting sucks. I am preparing a patch.