Skip to content

Commit

Permalink
Added assert
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Dec 11, 2013
1 parent 56b3e97 commit 4f14e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/evaluate.c
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ int radius_evaluate_map(REQUEST *request, UNUSED int modreturn, UNUSED int depth
(map->dst->da->vendor == 0) &&
radius_find_compare(map->dst->da)) {
rhs_vp = pairalloc(request, map->dst->da);

rad_assert(rhs_vp != NULL);
if (!pairparsevalue(rhs_vp, rhs)) {
talloc_free(rhs);
EVAL_DEBUG("FAIL %d", __LINE__);
Expand Down

0 comments on commit 4f14e10

Please sign in to comment.