Skip to content

Commit

Permalink
Always free the event
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Feb 24, 2015
1 parent b2f16a6 commit efc7baf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/process.c
Expand Up @@ -740,8 +740,7 @@ STATE_MACHINE_DECL(request_done)
} /* else don't print anything */

ASSERT_MASTER;
if (request->ev) fr_event_delete(el, &request->ev);

fr_event_delete(el, &request->ev);
request_free(request);
}

Expand Down

0 comments on commit efc7baf

Please sign in to comment.