diff options
-rw-r--r-- | drivers/gpu/drm/radeon/r600_cs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600_cs.c b/drivers/gpu/drm/radeon/r600_cs.c index ac7d93e2d5d5..06eab79c2eec 100644 --- a/drivers/gpu/drm/radeon/r600_cs.c +++ b/drivers/gpu/drm/radeon/r600_cs.c | |||
@@ -722,6 +722,8 @@ static void r600_cs_parser_fini(struct radeon_cs_parser *parser, int error) | |||
722 | kfree(parser->relocs); | 722 | kfree(parser->relocs); |
723 | for (i = 0; i < parser->nchunks; i++) { | 723 | for (i = 0; i < parser->nchunks; i++) { |
724 | kfree(parser->chunks[i].kdata); | 724 | kfree(parser->chunks[i].kdata); |
725 | kfree(parser->chunks[i].kpage[0]); | ||
726 | kfree(parser->chunks[i].kpage[1]); | ||
725 | } | 727 | } |
726 | kfree(parser->chunks); | 728 | kfree(parser->chunks); |
727 | kfree(parser->chunks_array); | 729 | kfree(parser->chunks_array); |