projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdd5cac
)
drm/radeon/kms: Free CS parser state tracking memory.
author
Michel Dänzer
<daenzer@vmware.com>
Tue, 15 Sep 2009 15:09:32 +0000
(17:09 +0200)
committer
Dave Airlie
<airlied@linux.ie>
Tue, 15 Sep 2009 23:15:02 +0000
(09:15 +1000)
Fixes leak hidden in commit
9f022ddfb23793b475ff7e57ac08a766dd5d31bd
('drm/radeon/kms: convert r4xx to new init path').
Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/radeon/radeon_cs.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_cs.c
b/drivers/gpu/drm/radeon/radeon_cs.c
index b530926a217855cf3336b060e3e0252b3ccd8448..12f5990c2d2a443d954ffcaff1a88eb05afe40b1 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_cs.c
+++ b/
drivers/gpu/drm/radeon/radeon_cs.c
@@
-185,6
+185,7
@@
static void radeon_cs_parser_fini(struct radeon_cs_parser *parser, int error)
mutex_unlock(&parser->rdev->ddev->struct_mutex);
}
}
+ kfree(parser->track);
kfree(parser->relocs);
kfree(parser->relocs_ptr);
for (i = 0; i < parser->nchunks; i++) {