Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
SDB - Self-describing Bus
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
SDB - Self-describing Bus
Commits
bddd31ee
Commit
bddd31ee
authored
Oct 11, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sdbfs/kernel: fix a memory leak in inodes
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
4a2d20d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sdbfs-core.c
sdbfs/kernel/sdbfs-core.c
+1
-1
No files found.
sdbfs/kernel/sdbfs-core.c
View file @
bddd31ee
...
...
@@ -164,8 +164,8 @@ static void sdbfs_destroy_inode(struct inode *ino)
{
struct
sdbfs_inode
*
inode
;
printk
(
"%s
\n
"
,
__func__
);
inode
=
container_of
(
ino
,
struct
sdbfs_inode
,
ino
);
kfree
(
inode
->
files
);
kmem_cache_free
(
sdbfs_inode_cache
,
inode
);
}
...
...
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