Ignore:
Timestamp:
Nov 6, 2014, 6:50:03 PM (10 years ago)
Author:
david
Message:
  • Fix Leak
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PublicaMundi_David-devel/zoo-project/zoo-kernel/service_zcfg.c

    r531 r533  
    5757            }
    5858        }
    59     }
    60   free (d);
     59        if (level > 0)
     60            free(rootDir);
     61    }
    6162  closedir (dir);
    6263  return 1;
     
    9697        (char *) malloc ((strlen (identifier_tmp) + 1) * sizeof (char));
    9798      strncpy (*identifier, identifier_tmp, strlen (identifier_tmp) + 1);
    98       free (identifier_tmp);
    9999      free (s_tmp);
    100100    }
     101  free (identifier_tmp);
    101102  return 1;
    102103}
     
    117118      serviceCfgList = g_list_append (serviceCfgList, s1);
    118119    }
     120  freeMap(&m);
    119121}
    120122
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png