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
cf14e914
Commit
cf14e914
authored
Nov 25, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] memleak in myri_sbus
parent
68d83b82
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
drivers/net/myri_sbus.c
drivers/net/myri_sbus.c
+2
-0
No files found.
drivers/net/myri_sbus.c
View file @
cf14e914
...
@@ -1085,6 +1085,7 @@ static int __init myri_ether_init(struct net_device *dev, struct sbus_dev *sdev,
...
@@ -1085,6 +1085,7 @@ static int __init myri_ether_init(struct net_device *dev, struct sbus_dev *sdev,
#endif
#endif
return
0
;
return
0
;
err:
unregister_netdev
(
dev
);
err:
unregister_netdev
(
dev
);
kfree
(
dev
->
priv
);
kfree
(
dev
);
kfree
(
dev
);
return
-
ENODEV
;
return
-
ENODEV
;
}
}
...
@@ -1142,6 +1143,7 @@ static void __exit myri_sbus_cleanup(void)
...
@@ -1142,6 +1143,7 @@ static void __exit myri_sbus_cleanup(void)
unregister_netdev
(
root_myri_dev
->
dev
);
unregister_netdev
(
root_myri_dev
->
dev
);
kfree
(
root_myri_dev
->
dev
);
kfree
(
root_myri_dev
->
dev
);
kfree
(
root_myri_dev
);
root_myri_dev
=
next
;
root_myri_dev
=
next
;
}
}
#endif
/* MODULE */
#endif
/* MODULE */
...
...
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