提交 48e113e5 编写于 作者: M Michel Dänzer 提交者: Dave Airlie

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: NMichel Dänzer <daenzer@vmware.com>
Signed-off-by: NDave Airlie <airlied@linux.ie>
上级 fdd5cace
......@@ -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++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册