From: Jeonghoon Park Date: Tue, 31 Jul 2018 05:14:52 +0000 (+0900) Subject: fixed invalid size of handle to alloc X-Git-Url: http://review.tizen.org/git/?p=apps%2Fnative%2Ftizen-things-daemon.git;a=commitdiff_plain;h=9e5e2da1aeb3a0dc8da9da83d44d28f414a805e2 fixed invalid size of handle to alloc Change-Id: I5d939cea376066ff93abd01cb1de1af285a286ee --- diff --git a/daemon/src/ttd-worker-interface.c b/daemon/src/ttd-worker-interface.c index 7214b9d..fad9591 100644 --- a/daemon/src/ttd-worker-interface.c +++ b/daemon/src/ttd-worker-interface.c @@ -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;