summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gralloc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gralloc.cpp b/gralloc.cpp
index 606ee5f..ad63a49 100644
--- a/gralloc.cpp
+++ b/gralloc.cpp
@@ -271,7 +271,7 @@ static int gbm_mod_open_gpu0(struct gbm_module_t *dmod, hw_device_t **dev)
if (err)
return err;
- alloc = new alloc_device_t;
+ alloc = new alloc_device_t();
if (!alloc)
return -EINVAL;