From a1cdf3c75fd5c644607b1877207d1d5b507a5bb9 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 27 Jul 2005 18:10:56 +0000 Subject: Converted all m_free to xfree etc. --- g10/progress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'g10/progress.c') diff --git a/g10/progress.c b/g10/progress.c index 0f42aae79..a2141e4cb 100644 --- a/g10/progress.c +++ b/g10/progress.c @@ -87,7 +87,7 @@ progress_filter (void *opaque, int control, /* Note, that we must always dealloc resources of a filter within the filter handler and not anywhere else. (We set it to NULL and check all uses just in case.) */ - m_free (pfx->what); + xfree (pfx->what); pfx->what = NULL; } else if (control == IOBUFCTRL_DESC) @@ -112,7 +112,7 @@ handle_progress (progress_filter_context_t *pfx, IOBUF inp, const char *name) filesize = opt.set_filesize; /* register the progress filter */ - pfx->what = m_strdup (name ? name : "stdin"); + pfx->what = xstrdup (name ? name : "stdin"); pfx->total = filesize; iobuf_push_filter (inp, progress_filter, pfx); } -- cgit