changeset 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 f4ba4ed28848
children 92340177150d
files src/conf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/conf.c	Sun Sep 04 11:40:35 2011 +0200
+++ b/src/conf.c	Sun Sep 04 11:55:51 2011 +0200
@@ -638,7 +638,7 @@
 	DEBUG(5) debugf("read_route, filename = %s\n", filename);
 
 	route->filename = g_strdup(filename);
-	route->name = g_strdup(filename);  /* quick hack */
+	route->name = route->filename;  /* quick hack */
 
 	route->expand_h_sender_address = TRUE;