From: Andy Walls Date: Sat, 30 Jan 2010 18:50:51 +0000 (-0300) Subject: V4L/DVB: cx18: Fix memory leak in cx18-alsa starting of PCM captures X-Git-Tag: v2.6.34-rc1~280^2~157 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=831f476cee704c37e7f96510135a90dfec6d00e9;p=pandora-kernel.git 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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed