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
8992505e
Commit
8992505e
authored
Oct 09, 2003
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IRDA]: Fix memory leak in sa1100_ir.c
parent
5b131006
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
drivers/net/irda/sa1100_ir.c
drivers/net/irda/sa1100_ir.c
+2
-6
No files found.
drivers/net/irda/sa1100_ir.c
View file @
8992505e
...
...
@@ -1132,12 +1132,8 @@ static void __exit sa1100_irda_exit(void)
release_mem_region
(
__PREG
(
Ser2HSCR0
),
0x1c
);
release_mem_region
(
__PREG
(
Ser2UTCR0
),
0x24
);
/*
* We now know that the netdevice is no longer in use, and all
* references to our driver have been removed. The only structure
* which may still be present is the netdevice, which will get
* cleaned up by net/core/dev.c
*/
if
(
dev
)
free_netdev
(
dev
);
}
static
int
__init
sa1100ir_setup
(
char
*
line
)
...
...
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