diff --git a/ext/standard/file.c b/ext/standard/file.c index f9384b17689..4fce9179bcb 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -1713,6 +1713,7 @@ PHP_FUNCTION(fd_set) FD_SET(fd, &readfd); if(fd > max_fd) max_fd = fd; } + efree(args); } RETURN_LONG(1); }