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:
f3e8ba5
)
Revert "WGID-176057: Fixed memory leak"
25/115725/1
author
taesub kim
<taesub.kim@samsung.com>
Tue, 21 Feb 2017 06:29:00 +0000
(22:29 -0800)
committer
taesub kim
<taesub.kim@samsung.com>
Tue, 21 Feb 2017 06:29:00 +0000
(22:29 -0800)
This reverts commit
f3e8ba56bb08c1098ccbb2b324c7bdf74db0c580
.
Change-Id: Ic520239766acb6b678802a9f9fe594fad54cb780
src/technology.c
patch
|
blob
|
history
diff --git
a/src/technology.c
b/src/technology.c
index
cdd804c
..
4e9cd9e
100755
(executable)
--- a/
src/technology.c
+++ b/
src/technology.c
@@
-1281,10
+1281,8
@@
static struct connman_technology *technology_get(enum connman_service_type type)
}
technology = g_try_new0(struct connman_technology, 1);
- if (!technology) {
- g_slist_free(tech_drivers);
+ if (!technology)
return NULL;
- }
technology->refcount = 1;
technology->type = type;