Skip to content

Commit

Permalink
Update gattlib.c
Browse files Browse the repository at this point in the history
  • Loading branch information
vl-80 committed Feb 21, 2022
1 parent 2448da5 commit a0f68ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dbus/gattlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ int gattlib_disconnect(gatt_connection_t* connection) {
g_main_loop_quit(conn_context->connection_loop);
pthread_join(conn_context->event_thread, NULL);
g_main_loop_unref(conn_context->connection_loop);
g_object_unref(conn_context->adapter->adapter_proxy);
disconnect_all_notifications(conn_context);

free(conn_context->adapter->adapter_name);
Expand Down

0 comments on commit a0f68ea

Please sign in to comment.