Skip to content

Commit

Permalink
Remove uneeded talloc_frees
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed May 1, 2014
1 parent 48218e8 commit 8abf541
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/modules.c
Expand Up @@ -982,7 +982,6 @@ static int load_component_section(CONF_SECTION *cs,
} else {
modrefname = cf_section_name2(scs);
if (!modrefname) {
talloc_free(this);
cf_log_err_cs(cs,
"Errors parsing %s sub-section.\n",
cf_section_name1(scs));
Expand All @@ -996,7 +995,6 @@ static int load_component_section(CONF_SECTION *cs,
* It's a section, but nothing we
* recognize. Die!
*/
talloc_free(this);
cf_log_err_cs(cs,
"Unknown Auth-Type \"%s\" in %s sub-section.",
modrefname, section_type_value[comp].section);
Expand Down

0 comments on commit 8abf541

Please sign in to comment.