diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-09-15 17:09:32 +0200 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-09-16 09:15:02 +1000 |
commit | 48e113e516a94ac9622a8326c4de670beb3366e6 (patch) | |
tree | e0136b721378b2bae69e6598d6ae40a0b260fa84 /drivers/gpu | |
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>
Diffstat (limited to 'drivers/gpu')
-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 b530926a217..12f5990c2d2 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) mutex_unlock(&parser->rdev->ddev->struct_mutex); } } + kfree(parser->track); kfree(parser->relocs); kfree(parser->relocs_ptr); for (i = 0; i < parser->nchunks; i++) { |