Bug #3537 » sigaltstack_leak.patch
vm.c (working copy) | ||
---|---|---|
RUBY_GC_INFO("main thread\n");
|
||
}
|
||
else {
|
||
#ifdef USE_SIGALTSTACK
|
||
if (th->altstack) {
|
||
free(th->altstack);
|
||
}
|
||
#endif
|
||
ruby_xfree(ptr);
|
||
}
|
||
}
|