fixed invalid size of handle to alloc 83/185483/1
authorJeonghoon Park <jh1979.park@samsung.com>
Tue, 31 Jul 2018 05:14:52 +0000 (14:14 +0900)
committerJeonghoon Park <jh1979.park@samsung.com>
Tue, 31 Jul 2018 05:14:52 +0000 (14:14 +0900)
Change-Id: I5d939cea376066ff93abd01cb1de1af285a286ee

daemon/src/ttd-worker-interface.c

index 7214b9d..fad9591 100644 (file)
@@ -123,7 +123,7 @@ int ttd_worker_interface_init(worker_interface_h *h)
                return -1;
        }
 
-       _h = g_try_malloc0(sizeof(worker_interface_h));
+       _h = g_try_malloc0(sizeof(struct _worker_interface_h));
        if (!_h) {
                _E("Failed to allocate memory for dbus handle");
                return -1;