projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef389a7
)
Fixed a coverity for resource leak
59/174559/1
accepted/tizen/unified/20180406.144313
submit/tizen/20180406.023145
author
hyunuktak
<hyunuk.tak@samsung.com>
Tue, 3 Apr 2018 04:36:36 +0000
(13:36 +0900)
committer
hyunuktak
<hyunuk.tak@samsung.com>
Tue, 3 Apr 2018 04:36:38 +0000
(13:36 +0900)
Change-Id: I990f3c1d314580546c4dfa4716d1a2e535bcd491
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
src/rtnl.c
patch
|
blob
|
history
diff --git
a/src/rtnl.c
b/src/rtnl.c
index
35ae0a9
..
ac29f31
100755
(executable)
--- 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