diff --git a/libgralloc-qsd8k/framebuffer.cpp b/libgralloc-qsd8k/framebuffer.cpp index 7669785..e2b7ac1 100644 --- a/libgralloc-qsd8k/framebuffer.cpp +++ b/libgralloc-qsd8k/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; }