tevent: make use of talloc_get_type_abort() in tevent_queue.c
authorStefan Metzmacher <metze@samba.org>
Thu, 5 Dec 2013 07:47:27 +0000 (08:47 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 11 Dec 2013 21:46:09 +0000 (22:46 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
lib/tevent/tevent_queue.c

index 361fc7bc2e38fdd89b82e8371dd25fe412732909..0c5fe4e88140e5c102e76afc0d66459e6297dfe9 100644 (file)
@@ -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;