Skip to content

Commit

Permalink
Don't leave dangling output pointer in ** out on error in radius_cp2map
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Mar 21, 2014
1 parent cbf413a commit f69a013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/map.c
Expand Up @@ -553,7 +553,7 @@ int radius_attrmap(CONF_SECTION *cs, value_pair_map_t **head,

return 0;
error:
talloc_free(*head);
TALLOC_FREE(*head);
return -1;
}

Expand Down

0 comments on commit f69a013

Please sign in to comment.