mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix memory leak
This commit is contained in:
parent
b41ffed0a2
commit
7a9e89d7b3
4 changed files with 7 additions and 7 deletions
|
@ -539,7 +539,7 @@ srs_error_t SrsInotifyWorker::start()
|
|||
}
|
||||
|
||||
if (((err = srs_fd_closeexec(fd))) != srs_success) {
|
||||
return srs_error_new(ERROR_INOTIFY_OPENFD, "closeexec fd=%d", fd);
|
||||
return srs_error_wrap(err, "closeexec fd=%d", fd);
|
||||
}
|
||||
|
||||
// /* the following are legal, implemented events that user-space can watch for */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue