Fix memory leak 02/49402/3
authorYoumin Ha <youmin.ha@samsung.com>
Tue, 13 Oct 2015 05:14:10 +0000 (14:14 +0900)
committerSuchang Woo <suchang.woo@samsung.com>
Tue, 13 Oct 2015 08:28:01 +0000 (01:28 -0700)
commit593f938f68abdc94c3bc71929142365e7b01e9dc
tree0f208685912e71e73096ec6c5b6885228f6c81d6
parentf542c1b8f66ec4399749ae73331f332daafa1755
Fix memory leak

The string got from tlm_seat_get_occupying_username() must be freed
after used. This commit fixes the memory leak.

Change-Id: If05dae74ad2027cd6c9bf81ce2d43e608d4982b9
Signed-off-by: Youmin Ha <youmin.ha@samsung.com>
src/daemon/tlm-dbus-observer.c
src/daemon/tlm-seat.c
src/daemon/tlm-seat.h