in reply to Re^3: XS: free() outside of the main thread causes crash on Windows
in thread XS: free() outside of the main thread causes crash on Windows
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);
|
|---|