fix(bt/bluedroid): Fix some bugs in Bluedroid
- Fix PBAC may free undefine memory when conn failed - Fix some memory in OBEX not being freed when bluedroid deinit - Fix pre-commit not check some source file that we added to bluedroid
This commit is contained in:
@@ -92,11 +92,11 @@ void OBEX_Deinit(void)
|
||||
if (obex_cb.tl_ops[OBEX_OVER_L2CAP]->deinit != NULL) {
|
||||
obex_cb.tl_ops[OBEX_OVER_L2CAP]->deinit();
|
||||
}
|
||||
/*
|
||||
#if (RFCOMM_INCLUDED == TRUE)
|
||||
if (obex_cb.tl_ops[OBEX_OVER_RFCOMM]->deinit != NULL) {
|
||||
obex_cb.tl_ops[OBEX_OVER_RFCOMM]->deinit();
|
||||
}
|
||||
*/
|
||||
#endif
|
||||
#if (OBEX_DYNAMIC_MEMORY)
|
||||
if (obex_cb_ptr) {
|
||||
osi_free(obex_cb_ptr);
|
||||
|
||||
Reference in New Issue
Block a user