Index: apps/app_fax.c =================================================================== --- apps/app_fax.c (revision 245500) +++ apps/app_fax.c (working copy) @@ -555,6 +555,7 @@ } ast_frfree(inf); + inf = NULL; } ast_debug(1, "Loop finished, res=%d\n", res); @@ -694,6 +695,7 @@ } ast_frfree(inf); + inf = NULL; } ast_debug(1, "Loop finished, res=%d\n", res);