projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ac44083
)
NULL initialization to prevent invalid mem access
88/229588/1
author
Deokhyun Kim
<dukan.kim@samsung.com>
Thu, 2 Apr 2020 06:09:43 +0000
(15:09 +0900)
committer
Wootak Jung
<wootak.jung@samsung.com>
Thu, 2 Apr 2020 06:20:20 +0000
(15:20 +0900)
Change-Id: I017703a931ebf7439edaf944221370091b87afb1
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
bt-oal/oal-gatt.c
patch
|
blob
|
history
diff --git
a/bt-oal/oal-gatt.c
b/bt-oal/oal-gatt.c
index
2ebd7fd
..
15ce299
100644
(file)
--- a/
bt-oal/oal-gatt.c
+++ b/
bt-oal/oal-gatt.c
@@
-292,6
+292,7
@@
oal_status_t gatt_disable(void)
}
g_slist_free_full(gatt_servers, g_free);
}
g_slist_free_full(gatt_servers, g_free);
+ gatt_servers = NULL;
return OAL_STATUS_SUCCESS;
}
return OAL_STATUS_SUCCESS;
}