Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Free set->catname even if it was incorrect
authorthiery <thiery@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 18 Jul 2006 08:21:03 +0000 (08:21 +0000)
committerthiery <thiery@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 18 Jul 2006 08:21:03 +0000 (08:21 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2609 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/log.c

index efc8727..2bc987f 100644 (file)
@@ -699,6 +699,7 @@ void xbt_log_control_set(const char* control_string) {
       if (e.category != not_found_error)
        RETHROW;
       xbt_ex_free(e);
+      free(set->catname);
       found = 0;
 
       DEBUG0("Store for further application");