But this didn't help. Still crashes-free(msg); +Safefree(msg); -char *thread_arg = malloc((strlen(msg)+1)*sizeof(char)); +char *thread_arg; +Newx(thread_arg, strlen(msg)+1, char);
In reply to Re^4: XS: free() outside of the main thread causes crash on Windows
by OlegG
in thread XS: free() outside of the main thread causes crash on Windows
by OlegG
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |