aboutsummaryrefslogtreecommitdiffstats
path: root/g10/openfile.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/openfile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/g10/openfile.c b/g10/openfile.c
index 854589641..6f4541e80 100644
--- a/g10/openfile.c
+++ b/g10/openfile.c
@@ -282,8 +282,7 @@ open_sigfile( const char *iname, progress_filter_context_t *pfx )
log_info(_("assuming signed data in `%s'\n"), buf );
if (a && pfx)
handle_progress (pfx, a, buf);
- else
- m_free(buf);
+ m_free(buf);
}
}
return a;