Commit 4002d895 4002d895b95cc5f1dab7d23420d97655b4d216c9 by Wojciech Polak

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

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