lkml.org 
[lkml]   [2018]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 4.4 49/72] media: usbtv: prevent double free in error case
From
Date
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.

Regards
Oliver

\
 
 \ /
  Last update: 2018-05-15 12:00    [W:0.079 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site