The gc_none.c free() is simply libc's free(), but gc->allocate_class() returns ((id)ptr + 1). This mismatch causes segfaults on FreeBSD. Attached is a patch that fixes this, but only for this one scenario. A better patch is needed for real.

- Justin

Attachment: fix_free_nogc.diff
Description: Binary data


_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to