summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhyunuktak <hyunuk.tak@samsung.com>2018-04-03 04:36:36 (GMT)
committerhyunuktak <hyunuk.tak@samsung.com>2018-04-03 04:36:38 (GMT)
commit4d78ef9b291362ba956e0706f30f3cb552fca725 (patch)
tree4cfc0b976c678af7bd1388cddb3eb63cb0a5f049
parentef389a7b9279d9e7c2a677041ef87f5d7dad605a (diff)
downloadconnman-4d78ef9b291362ba956e0706f30f3cb552fca725.zip
connman-4d78ef9b291362ba956e0706f30f3cb552fca725.tar.gz
connman-4d78ef9b291362ba956e0706f30f3cb552fca725.tar.bz2
Change-Id: I990f3c1d314580546c4dfa4716d1a2e535bcd491 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
-rwxr-xr-xsrc/rtnl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rtnl.c b/src/rtnl.c
index 35ae0a9..ac29f31 100755
--- a/src/rtnl.c
+++ b/src/rtnl.c
@@ -159,6 +159,7 @@ static void read_uevent(struct interface_data *interface)
if (__connman_rtnl_is_cellular_device(name)) {
interface->service_type = CONNMAN_SERVICE_TYPE_CELLULAR;
interface->device_type = CONNMAN_DEVICE_TYPE_CELLULAR;
+ g_free(name);
return;
}
#endif