mirror of
https://github.com/adulau/aha.git
synced 2024-12-31 21:26:18 +00:00
drm/radeon/kms: Free CS parser state tracking memory.
Fixes leak hidden in commit 9f022ddfb2
('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>
This commit is contained in:
parent
fdd5cace73
commit
48e113e516
1 changed files with 1 additions and 0 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Reference in a new issue