|
Relates :
|
|
|
Relates :
|
Valgrind reports small memory leak in get_stack_bounds // os::create_stack_guard_pages.
The reason there is leak is that getline() may return -1 and still allocate memory in str:
ssize_t len = getline(&str, &dummy, f);
if (len == -1) {
fclose(f);
return false;
|