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
nexedi
linux
Commits
a7ec2bbb
Commit
a7ec2bbb
authored
Jun 08, 2004
by
Herbert Xu
Committed by
Linus Torvalds
Jun 08, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Fix netdev leak on probe failure in 3c527
This patch frees the netdev on failure in mc32_probe in 3c527.
parent
06d26886
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
drivers/net/3c527.c
drivers/net/3c527.c
+1
-0
No files found.
drivers/net/3c527.c
View file @
a7ec2bbb
...
@@ -287,6 +287,7 @@ struct net_device *__init mc32_probe(int unit)
...
@@ -287,6 +287,7 @@ struct net_device *__init mc32_probe(int unit)
}
}
}
}
free_netdev
(
dev
);
return
ERR_PTR
(
-
ENODEV
);
return
ERR_PTR
(
-
ENODEV
);
}
}
...
...
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