Skip to content

Commit

Permalink
No need for if
Browse files Browse the repository at this point in the history
Confusing because the rest of the frees don't use a condition
  • Loading branch information
arr2036 committed Sep 11, 2015
1 parent 190e5c0 commit c5e8941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/pair.c
Expand Up @@ -98,7 +98,7 @@ int radius_compare_vps(UNUSED REQUEST *request, VALUE_PAIR *check, VALUE_PAIR *v
REDEBUG("Error stringifying operand for regular expression");

regex_error:
if (preg) talloc_free(preg);
talloc_free(preg);
talloc_free(expr);
talloc_free(value);
return -2;
Expand Down

0 comments on commit c5e8941

Please sign in to comment.