Skip to content

Commit

Permalink
use the correct assertion
Browse files Browse the repository at this point in the history
ev->parent is NOT talloc'd
  • Loading branch information
alandekok committed Feb 21, 2014
1 parent ae311ba commit ac9c9e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/event.c
Expand Up @@ -153,7 +153,7 @@ int fr_event_delete(fr_event_list_t *el, fr_event_t **parent)
*/
ev = talloc_get_type_abort(*parent, fr_event_t);
if (ev->parent) {
(void) talloc_get_type_abort(*ev->parent, fr_event_t *);
(void) talloc_get_type_abort(*ev->parent, fr_event_t);
}
#else
ev = *parent;
Expand Down

0 comments on commit ac9c9e1

Please sign in to comment.