diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-09-15 11:09:32 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-09-15 19:15:02 -0400 |
commit | 48e113e516a94ac9622a8326c4de670beb3366e6 (patch) | |
tree | e0136b721378b2bae69e6598d6ae40a0b260fa84 | |
parent | fdd5cace733370ab7a518a98ef084e02aa76fdea (diff) |
drm/radeon/kms: Free CS parser state tracking memory.
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>
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_cs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c index b530926a2178..12f5990c2d2a 100644 --- 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) | |||
185 | mutex_unlock(&parser->rdev->ddev->struct_mutex); | 185 | mutex_unlock(&parser->rdev->ddev->struct_mutex); |
186 | } | 186 | } |
187 | } | 187 | } |
188 | kfree(parser->track); | ||
188 | kfree(parser->relocs); | 189 | kfree(parser->relocs); |
189 | kfree(parser->relocs_ptr); | 190 | kfree(parser->relocs_ptr); |
190 | for (i = 0; i < parser->nchunks; i++) { | 191 | for (i = 0; i < parser->nchunks; i++) { |