1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

ST: Support st_destroy to free resources for asan.

This commit is contained in:
chengh 2022-11-21 22:26:46 +08:00 committed by winlin
parent 6eb10afca2
commit 6fa17aa3f8
5 changed files with 39 additions and 4 deletions

View file

@ -156,6 +156,7 @@ extern int st_sendmsg(st_netfd_t fd, const struct msghdr *msg, int flags, st_uti
extern st_netfd_t st_open(const char *path, int oflags, mode_t mode);
extern void st_destroy(void);
extern int st_thread_setspecific2(st_thread_t thread, int key, void *value);
#ifdef DEBUG