Commit 0bd9e175 0bd9e1759058e0d7b1e3e4be205a65e1e1bedab2 by Sergey Poznyakoff

Bugfix

* libproto/mailer/prog.c (url_to_argv): Free ws only if
it was initialized.
1 parent 0283eeaa
......@@ -349,6 +349,7 @@ url_to_argv (mu_url_t url, mu_message_t msg,
wsflags |= MU_WRDSF_REUSE;
}
argv[i+1] = NULL;
if (wsflags & MU_WRDSF_REUSE)
mu_wordsplit_free (&ws);
*pargc = argc;
......