git.openpandora.org
/
sgx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1c3983
)
gpu: pvr: fix error path in PVRSRVOpenDCDeviceKM
author
Imre Deak
<imre.deak@nokia.com>
Tue, 29 Mar 2011 17:25:08 +0000
(20:25 +0300)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 20 May 2012 18:43:04 +0000
(21:43 +0300)
Add missing free.
Reported-by: Coverity
Signed-off-by: Imre Deak <imre.deak@nokia.com>
Reviewed-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
pvr/deviceclass.c
patch
|
blob
|
history
diff --git
a/pvr/deviceclass.c
b/pvr/deviceclass.c
index
dd3bcce
..
d7f3f21
100644
(file)
--- a/
pvr/deviceclass.c
+++ b/
pvr/deviceclass.c
@@
-587,6
+587,9
@@
err2:
module_put(jtbl->owner);
psDCInfo->ui32RefCount--;
err1:
+ OSFreeMem(PVRSRV_OS_PAGEABLE_HEAP, sizeof(*psDCPerContextInfo),
+ psDCPerContextInfo, NULL);
+
return eError;
}