Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48e113e5 authored by Michel Dänzer's avatar Michel Dänzer Committed by Dave Airlie
Browse files

drm/radeon/kms: Free CS parser state tracking memory.



Fixes leak hidden in commit 9f022ddf
('drm/radeon/kms: convert r4xx to new init path').

Signed-off-by: default avatarMichel Dänzer <daenzer@vmware.com>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent fdd5cace
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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++) {