mirror of https://github.com/OISF/suricata
threads: destroy pthread_attr_t before reuse
pthread_getattr_np re-initializes the attributes on use causing the original pthread_attr_init to leak. Destroy after use to prevent the memory leak. Ticket: 9032pull/16213/head
parent
e89b7644a8
commit
7a3d21bb2c
Loading…
Reference in New Issue