Skip to content

Commit

Permalink
rely on talloc for cleanup, not request_data opaque
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Sep 26, 2016
1 parent 923e218 commit b406285
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/interpreter.c
Original file line number Diff line number Diff line change
Expand Up @@ -1327,7 +1327,7 @@ int unlang_event_timeout_add(REQUEST *request, fr_unlang_timeout_callback_t call
return -1;
}

(void) request_data_add(request, ctx, -1, ev, true, true, false);
(void) request_data_add(request, ctx, -1, ev, true, false, false);

talloc_set_destructor(ev, _unlang_event_free);
return 0;
Expand Down Expand Up @@ -1370,7 +1370,7 @@ int unlang_event_fd_add(REQUEST *request, fr_unlang_fd_callback_t callback,
return -1;
}

(void) request_data_add(request, ctx, fd, ev, true, true, false);
(void) request_data_add(request, ctx, fd, ev, true, false, false);

talloc_set_destructor(ev, _unlang_event_free);
return 0;
Expand Down

0 comments on commit b406285

Please sign in to comment.