OSDN Git Service

minigbm: close bo handle in bo destroy
authorSatyajit Sahu <satyajit.sahu@amd.com>
Wed, 27 Jun 2018 06:41:12 +0000 (12:11 +0530)
committerchrome-bot <chrome-bot@chromium.org>
Fri, 29 Jun 2018 21:16:32 +0000 (14:16 -0700)
commita8a38957d97d8ecc14e57fb16ade8210f913cf87
treeb17f81952c9464668b329443610efdbbecd87496
parent293d9e3edfb46d0a988f99a835be16349bea0c3c
minigbm: close bo handle in bo destroy

In dri path the bo handle is not closed in bo destroy. This was
resulting in memory leak. Closed the bo handle in bo destroy.

BUG=b:80546783
TEST=graphis autotest suite

Change-Id: I8d9c7fbc87fd80d03be7d9a98ac8aa95f0d175ed
Signed-off-by: Satyajit Sahu <satyajit.sahu@amd.com>
Reviewed-on: https://chromium-review.googlesource.com/1117975
Commit-Ready: Martin Roth <martinroth@chromium.org>
Tested-by: Martin Roth <martinroth@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
dri.c