1
0
Fork 0

Do not forget to signal the proper signal number first

This commit is contained in:
Erik Hofman 2017-02-27 11:50:51 +01:00
parent 6179a8d8d7
commit 706ce325d3

View file

@ -183,6 +183,7 @@ void segfault_handler(int signo) {
free(list); free(list);
} }
signal(signo, SIG_DFL);
kill(getpid(), signo); kill(getpid(), signo);
} }
#endif #endif