Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Simple VME FMC Carrier SVEC - Software
Commits
feb50384
Commit
feb50384
authored
Dec 17, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel/svec_drv: fix leakage on unmap
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
fd278ee3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
svec_drv.c
kernel/svec_drv.c
+2
-0
No files found.
kernel/svec_drv.c
View file @
feb50384
...
...
@@ -105,6 +105,8 @@ int unmap_window(struct svec_dev *svec, enum svec_map_win win)
return
-
EINVAL
;
}
printk
(
KERN_ERR
PFX
"window %d unmaped
\n
"
,
(
int
)
win
);
kfree
(
svec
->
map
[
win
]);
svec
->
map
[
win
]
=
NULL
;
return
0
;
}
...
...
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