Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
5c653351
Commit
5c653351
authored
Nov 13, 2008
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (9613): tvaudio: fix a memory leak
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
f21f237c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
drivers/media/video/tvaudio.c
drivers/media/video/tvaudio.c
+1
-0
No files found.
drivers/media/video/tvaudio.c
View file @
5c653351
...
@@ -1481,6 +1481,7 @@ static int chip_probe(struct i2c_client *client, const struct i2c_device_id *id)
...
@@ -1481,6 +1481,7 @@ static int chip_probe(struct i2c_client *client, const struct i2c_device_id *id)
}
}
if
(
desc
->
name
==
NULL
)
{
if
(
desc
->
name
==
NULL
)
{
v4l_dbg
(
1
,
debug
,
client
,
"no matching chip description found
\n
"
);
v4l_dbg
(
1
,
debug
,
client
,
"no matching chip description found
\n
"
);
kfree
(
chip
);
return
-
EIO
;
return
-
EIO
;
}
}
v4l_info
(
client
,
"%s found @ 0x%x (%s)
\n
"
,
desc
->
name
,
client
->
addr
<<
1
,
client
->
adapter
->
name
);
v4l_info
(
client
,
"%s found @ 0x%x (%s)
\n
"
,
desc
->
name
,
client
->
addr
<<
1
,
client
->
adapter
->
name
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment