Bugfix
* libproto/mailer/prog.c (url_to_argv): Free ws only if it was initialized.
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -349,7 +349,8 @@ url_to_argv (mu_url_t url, mu_message_t msg, | ... | @@ -349,7 +349,8 @@ url_to_argv (mu_url_t url, mu_message_t msg, |
349 | wsflags |= MU_WRDSF_REUSE; | 349 | wsflags |= MU_WRDSF_REUSE; |
350 | } | 350 | } |
351 | argv[i+1] = NULL; | 351 | argv[i+1] = NULL; |
352 | mu_wordsplit_free (&ws); | 352 | if (wsflags & MU_WRDSF_REUSE) |
353 | mu_wordsplit_free (&ws); | ||
353 | 354 | ||
354 | *pargc = argc; | 355 | *pargc = argc; |
355 | *pargv = argv; | 356 | *pargv = argv; | ... | ... |
-
Please register or sign in to post a comment