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/common.h
vendored
1
trunk/3rdparty/st-srs/common.h
vendored
|
@ -226,6 +226,7 @@ typedef struct _st_eventsys_ops {
|
|||
int (*fd_new)(int); /* New descriptor allocated */
|
||||
int (*fd_close)(int); /* Descriptor closed */
|
||||
int (*fd_getlimit)(void); /* Descriptor hard limit */
|
||||
void (*destroy)(void); /* Destroy the event object */
|
||||
} _st_eventsys_t;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue