Commit 4002d895 4002d895b95cc5f1dab7d23420d97655b4d216c9 by Wojciech Polak

(mail_send): Bugfix. Removed free(p) and prevent from later segmentation

fault.
1 parent bc0e6d23
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc.
Copyright (C) 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -189,10 +189,7 @@ mail_send (int argc, char **argv)
}
}
else
{
compose_header_set (&env, MU_HEADER_TO, p, COMPOSE_SINGLE_LINE);
free (p);
}
compose_header_set (&env, MU_HEADER_TO, p, COMPOSE_SINGLE_LINE);
}
}
......