← Commit list

7b3edeb14

Eric Andersen
Eric Andersen
2003-05-02
FAILED Duration: 95s

Subject

Patch from Dmitry V. Levin to fix a fd leak

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libbb/loop.c+1 -0
@@ -37,6 +37,7 @@ extern int del_loop(const char *device)
return (FALSE);
}
if (ioctl(fd, LOOP_CLR_FD, 0) < 0) {
+ close(fd);
bb_perror_msg("ioctl: LOOP_CLR_FD");
return (FALSE);
}