From 982bf3c082893bbf59a76ed0e7f670d8932102b1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 5 Dec 2013 08:47:27 +0100 Subject: tevent: make use of talloc_get_type_abort() in tevent_queue.c Signed-off-by: Stefan Metzmacher Reviewed-by: Volker Lendecke --- lib/tevent/tevent_queue.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/tevent/tevent_queue.c') diff --git a/lib/tevent/tevent_queue.c b/lib/tevent/tevent_queue.c index 361fc7bc2e..0c5fe4e881 100644 --- a/lib/tevent/tevent_queue.c +++ b/lib/tevent/tevent_queue.c @@ -133,8 +133,9 @@ static void tevent_queue_immediate_trigger(struct tevent_context *ev, struct tevent_immediate *im, void *private_data) { - struct tevent_queue *q = talloc_get_type(private_data, - struct tevent_queue); + struct tevent_queue *q = + talloc_get_type_abort(private_data, + struct tevent_queue); if (!q->running) { return; -- cgit