Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
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 PCIe FMC carrier SPEC - Software
Commits
9b0829ba
Commit
9b0829ba
authored
Jul 31, 2014
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: fix memory leakage
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
094793fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
spec-fmc.c
kernel/spec-fmc.c
+1
-0
No files found.
kernel/spec-fmc.c
View file @
9b0829ba
...
@@ -558,5 +558,6 @@ void spec_fmc_destroy(struct spec_dev *spec)
...
@@ -558,5 +558,6 @@ void spec_fmc_destroy(struct spec_dev *spec)
spec_irq_exit
(
spec
->
fmc
);
spec_irq_exit
(
spec
->
fmc
);
spec_i2c_exit
(
spec
->
fmc
);
spec_i2c_exit
(
spec
->
fmc
);
put_device
(
&
spec
->
fmc
->
dev
);
put_device
(
&
spec
->
fmc
->
dev
);
kfree
(
spec
->
fmc
);
spec
->
fmc
=
NULL
;
spec
->
fmc
=
NULL
;
}
}
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