Show
Ignore:
Timestamp:
10/19/11 01:27:04 (3 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1318987624 -0400
git-parent:

[cd621c2ce13e17f28a2aa89767ff1a14fe787306]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1318987624 -0400
Message:

These are all memory leak fixes.
They are low priority leaks as they only happen at boot and
only consititue a one-time loss of 200 bytes or so on my box.
Cleanliness is cleanliness.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_conf.c

    r2357078 r82dc7d3  
    307307      strlcat(infile, path, PATH_MAX); 
    308308    } 
     309    xmlFree(path); 
    309310    config_include_nodes[i].doc = xmlParseFile(infile); 
    310311    if(config_include_nodes[i].doc) { 
     
    460461    snprintf(xpath_expr, sizeof(xpath_expr), "//*[@id=\"%s\"]", inheritid); 
    461462    noit_conf_get_into_hash(NULL, xpath_expr, table); 
     463    xmlFree(inheritid); 
    462464  } 
    463465  /* 3. */