Skip to content

Commit

Permalink
Handle more corner cases with CoA cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Apr 7, 2014
1 parent 4892972 commit d87db41
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/process.c
Expand Up @@ -3611,6 +3611,7 @@ static void request_coa_separate(REQUEST *request)
rad_assert(request->parent->coa == request);
rad_assert(request->ev == NULL);
rad_assert(!request->in_request_hash);
rad_assert(request->coa == NULL);

rad_assert(request->proxy_listener != NULL);

Expand Down Expand Up @@ -4487,6 +4488,12 @@ static int request_delete_cb(UNUSED void *ctx, void *data)
(unsigned int) (request->timestamp - fr_start_time));
}

#ifdef WITH_COA
if (request->coa) {
rad_assert(!request->coa->in_proxy_hash);
}
#endif

request_free(&request);

/*
Expand Down

0 comments on commit d87db41

Please sign in to comment.