From 5de822e192a3fdecb582925edd5b24e6d125c418 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 16 Sep 2012 12:39:54 +0200 Subject: [PATCH] Fix double unlink --- bacula/src/lib/message.c | 1 - 1 file changed, 1 deletion(-) diff --git a/bacula/src/lib/message.c b/bacula/src/lib/message.c index c3ac172cb2..fc7f22ae7d 100644 --- a/bacula/src/lib/message.c +++ b/bacula/src/lib/message.c @@ -596,7 +596,6 @@ rem_temp_file: if (d->mail_filename) { /* Exclude spaces in mail_filename */ safer_unlink(d->mail_filename, MAIL_REGEX); - unlink(d->mail_filename); free_pool_memory(d->mail_filename); d->mail_filename = NULL; } -- 2.39.5