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; }