summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2014-04-29 10:23:03 +0200
committerKarolin Seeger <kseeger@samba.org>2014-04-29 10:23:03 +0200
commit0953816ae9414ea7d32a64af62f2fecb1868a627 (patch)
treec316d613f3310dbea6ad8d638934116e8b4b25b9
parentf0d41fbc7295de4e31229704b255ca1db7f761f8 (diff)
downloadsamba-0953816ae9414ea7d32a64af62f2fecb1868a627.tar.gz
Revert "tevent: fix crash bug in tevent_queue_immediate_trigger()"
This reverts commit fc185a5f4cb34f4a2488eb336844c32812f930e7. See https://bugzilla.samba.org/show_bug.cgi?id=10344 for details. Stefan (metze) Metzmacher 2014-04-11 07:28:18 UTC Karolin, please revert fc185a5f4cb34f4a2488eb336844c32812f930e7 in v4-0-test, this somehow went in twice. 87a02403ee4fcc404dc3b887a851c421660cb4d8 is the first commit. It's not a real problem to have the same check twice, but it's a bit confusing and may generate problems with future backports.
-rw-r--r--lib/tevent/tevent_queue.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/tevent/tevent_queue.c b/lib/tevent/tevent_queue.c
index e32468098d7..eeb922fbbc8 100644
--- a/lib/tevent/tevent_queue.c
+++ b/lib/tevent/tevent_queue.c
@@ -144,10 +144,6 @@ static void tevent_queue_immediate_trigger(struct tevent_context *ev,
return;
}
- if (!q->list) {
- return;
- }
-
q->list->triggered = true;
q->list->trigger(q->list->req, q->list->private_data);
}