mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-31 07:28:02 +03:00
parent
66813916b5
commit
10d090aae9
2 changed files with 5 additions and 4 deletions
|
|
@ -1409,7 +1409,7 @@ prof_open_maps(const char *format, ...) {
|
|||
va_start(ap, format);
|
||||
malloc_vsnprintf(filename, sizeof(filename), format, ap);
|
||||
va_end(ap);
|
||||
mfd = open(filename, O_RDONLY);
|
||||
mfd = open(filename, O_RDONLY | O_CLOEXEC);
|
||||
|
||||
return mfd;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue