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
Kirill Smelkov
linux
Commits
a19fe3a1
Commit
a19fe3a1
authored
Jan 13, 2003
by
Rusty Russell
Committed by
Linus Torvalds
Jan 13, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Memory leak in drivers_net_rruner.c
From: Pablo Menichini <pablo@menichini.com.ar>
parent
e7cb6b00
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
drivers/net/rrunner.c
drivers/net/rrunner.c
+0
-9
No files found.
drivers/net/rrunner.c
View file @
a19fe3a1
...
@@ -111,16 +111,7 @@ static int __devinit rr_init_one(struct pci_dev *pdev,
...
@@ -111,16 +111,7 @@ static int __devinit rr_init_one(struct pci_dev *pdev,
goto
out2
;
goto
out2
;
}
}
if
(
!
dev
->
priv
)
dev
->
priv
=
kmalloc
(
sizeof
(
*
rrpriv
),
GFP_KERNEL
);
if
(
!
dev
->
priv
)
{
ret
=
-
ENOMEM
;
goto
out2
;
}
rrpriv
=
(
struct
rr_private
*
)
dev
->
priv
;
rrpriv
=
(
struct
rr_private
*
)
dev
->
priv
;
memset
(
rrpriv
,
0
,
sizeof
(
*
rrpriv
));
SET_MODULE_OWNER
(
dev
);
SET_MODULE_OWNER
(
dev
);
...
...
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