sensord: fix memory leak when legacy cb is used 04/64504/1
authorkibak.yoon <kibak.yoon@samsung.com>
Thu, 31 Mar 2016 01:24:52 +0000 (10:24 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Fri, 1 Apr 2016 10:40:21 +0000 (19:40 +0900)
commitdd29f31a34c4c08c358dc0fa4950332482a1a710
treeb0be495c7fe5f999b0c5dd909522e4c3422e48c7
parent10128a9b5761c650df006b398d21e7a2778338b5
sensord: fix memory leak when legacy cb is used

* when legacy cb is used, allocation of event is useless

Change-Id: I1698884940a6744f78963a28746e5b9e4313ec00
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/client/sensor_event_listener.cpp