From 68827e74ed0aa7dd448c898916c58727648c5264 Mon Sep 17 00:00:00 2001 From: Naomi Luis Date: Mon, 3 Jan 2011 12:53:06 -0800 Subject: [PATCH] libgralloc-qsd8k: Close the gralloc module Close the gralloc module in the fb_device_open api. CRs-fixed: 269234 Change-Id: Ifcb1909e0cf8bf40f2b505716cb624531309556b --- framebuffer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/framebuffer.cpp b/framebuffer.cpp index 99ec2ad..949f23f 100644 --- a/framebuffer.cpp +++ b/framebuffer.cpp @@ -826,6 +826,9 @@ int fb_device_open(hw_module_t const* module, const char* name, *device = &dev->device.common; } + + // Close the gralloc module + gralloc_close(gralloc_device); } return status; }