masqmail

diff src/conf.c @ 357:04744e3e8b18

Closed a memory leak. The name of a route still is simply the filename of that route, but that seems to be sufficient and at least unambiguous.
author markus schnalke <meillo@marmaro.de>
date Sun, 04 Sep 2011 11:55:51 +0200
parents 08932c629849
children 84e6b552f6ad
line diff
     1.1 --- a/src/conf.c	Sun Sep 04 11:40:35 2011 +0200
     1.2 +++ b/src/conf.c	Sun Sep 04 11:55:51 2011 +0200
     1.3 @@ -638,7 +638,7 @@
     1.4  	DEBUG(5) debugf("read_route, filename = %s\n", filename);
     1.5  
     1.6  	route->filename = g_strdup(filename);
     1.7 -	route->name = g_strdup(filename);  /* quick hack */
     1.8 +	route->name = route->filename;  /* quick hack */
     1.9  
    1.10  	route->expand_h_sender_address = TRUE;
    1.11