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

@ -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;