commit | 831f476cee704c37e7f96510135a90dfec6d00e9 | [log] [tgz] |
---|---|---|
author | Andy Walls <awalls@radix.net> | Sat Jan 30 15:50:51 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri Feb 26 15:10:50 2010 -0300 |
tree | 701bbdec5d39da9729ce51d5d90cc517d7fc2ec5 | |
parent | b4729dcbba5431bf636d3d6615709383ad5e0d34 [diff] |
V4L/DVB: cx18: Fix memory leak in cx18-alsa starting of PCM captures The cx18_open_id is normally dynamically allocated and stored in the filp->private_data for v4l2 file operations. The cx18-alsa routines should not dynamically allocate a cx18_open_id because they never store it anywhere and never free it. This change fixes that and plugs a memory leak. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>