We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9beff47 + 3ea8614 commit ea53923Copy full SHA for ea53923
test/common/test_helpers_linux.c
@@ -40,6 +40,8 @@ bool is_mapped_with_MAP_SYNC(char *path, char *buf, size_t size_buf) {
40
smaps = strstr(buf, path);
41
}
42
43
+ (void)close(fd);
44
+
45
// String starting from the "sf" flag
46
// marking that memory was mapped with the MAP_SYNC flag.
47
char *sf_flag = NULL;
0 commit comments