fix memory leak in err.c
2 files changed