This repository was archived by the owner on Jan 3, 2023. It is now read-only.
  
  
  
  
  
Description
- Each time lb_register_characteristic_read_event() is called a new thread is created. Only the last one to be created is closed down by lb_destroy() leading to memory leakage.
 
- If lb_destroy() called is without lb_register_characteristic_read_event() being called, pthread_cancel() generates a segfault as it was invoked with an invalid thread handle.
 
I can fix these, but wanted to make sure they were valid problems.