eeze_syspaty: fix a potention memory leak 66/258666/2
authorWonki Kim <wonki_.kim@samsung.com>
Thu, 24 Dec 2020 02:48:53 +0000 (11:48 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Mon, 24 May 2021 05:39:50 +0000 (05:39 +0000)
commita4a3fb753e31384c0bebb13b1550d76252b32139
tree99c65184e8fd07d467b63b589af972e3c7ca8404
parentb08a6cf4ed939fe8a3e9a5e6ce916a870d9518aa
eeze_syspaty: fix a potention memory leak

Summary:
if udev device get sysname fails, memory leaks.
this patch fixes the problem.

Reviewers: bu5hm4n, Hermet, zmike

Reviewed By: Hermet

Subscribers: vtorri, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12222

Change-Id: I2d02a6e6eb98e9262255ab3c02cf99f347b8c5f9
src/lib/eeze/eeze_udev_syspath.c