From: navarrop Date: Thu, 2 Dec 2010 13:32:17 +0000 (+0000) Subject: Free those variables after the end of the cluster tag. X-Git-Tag: v3.6_beta2~1034 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e59ef9a46f77025f8607d671ee6a0e0dbeea0228?hp=2ddb2aed34d10784654263bf385275d6073b44ca Free those variables after the end of the cluster tag. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8878 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index 50250c817a..3428327e5f 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -3375,9 +3375,6 @@ static void routing_parse_Scluster(void) SURFXML_START_TAG(link); SURFXML_END_TAG(link); - free(link_backbone); - free(link_router); - DEBUG0(" "); #ifdef HAVE_PCRE_LIB @@ -3510,6 +3507,8 @@ static void routing_parse_Scluster(void) #endif + free(link_backbone); + free(link_router); DEBUG0(""); SURFXML_END_TAG(AS);