1
0
Fork 0
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:
winlin 2020-08-20 17:15:07 +08:00
parent b41ffed0a2
commit 7a9e89d7b3
4 changed files with 7 additions and 7 deletions

View file

@ -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 */