git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3e56c0
)
wimax: wimax_msg_alloc() returns ERR_PTR not null
author
Dan Carpenter
<error27@gmail.com>
Thu, 22 Apr 2010 09:46:32 +0000
(11:46 +0200)
committer
Inaky Perez-Gonzalez
<inaky.perez-gonzalez@intel.com>
Tue, 11 May 2010 21:09:19 +0000
(14:09 -0700)
wimax_msg_alloc() returns an ERR_PTR and not null. I changed it to test
for ERR_PTR instead of null. I also added a check in front of the
kfree() because kfree() can handle null but not ERR_PTR.
Signed-off-by: Dan Carpenter <error27@gmail.com>
No differences found