diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-12-05 08:47:27 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-12-11 22:46:09 +0100 |
commit | 982bf3c082893bbf59a76ed0e7f670d8932102b1 (patch) | |
tree | 65243380bae5260b5e269b34b7f0095da7527ffa /lib/tevent/tevent_queue.c | |
parent | fb06f0e3d38a0cd2d6a55e93c993763adb7cf278 (diff) | |
download | samba-982bf3c082893bbf59a76ed0e7f670d8932102b1.tar.gz samba-982bf3c082893bbf59a76ed0e7f670d8932102b1.tar.xz samba-982bf3c082893bbf59a76ed0e7f670d8932102b1.zip |
tevent: make use of talloc_get_type_abort() in tevent_queue.c
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'lib/tevent/tevent_queue.c')
-rw-r--r-- | lib/tevent/tevent_queue.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; |