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:
parent
6eb10afca2
commit
6fa17aa3f8
5 changed files with 39 additions and 4 deletions
1
trunk/3rdparty/st-srs/public.h
vendored
1
trunk/3rdparty/st-srs/public.h
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue