ecore-drm: cleanup data when failed to setup tty.
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 10 Dec 2014 13:02:45 +0000 (08:02 -0500)
committerChris Michael <cp.michael@samsung.com>
Wed, 10 Dec 2014 13:02:52 +0000 (08:02 -0500)
commit7ac40208748c438ae144ca0adebc0cd7df0ba1ab
tree2298b062416b0e161d01b8986d50b21183d72e7d
parent8b573930c7a42772919909be52ad4111f97a9e27
ecore-drm: cleanup data when failed to setup tty.

Summary: added code to free string of tty's name when failed to setup tty.

@fix

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1763
src/lib/ecore_drm/ecore_drm_logind.c
src/lib/ecore_drm/ecore_drm_tty.c