git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d485cc5
)
fix tevent_queue crash
author
Stefan Metzmacher
<metze@samba.org>
Wed, 28 Apr 2010 15:45:11 +0000
(17:45 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 29 Apr 2010 13:53:16 +0000
(15:53 +0200)
lib/tevent/tevent_queue.c
patch
|
blob
|
history
diff --git
a/lib/tevent/tevent_queue.c
b/lib/tevent/tevent_queue.c
index 3715c35e4f3416d5d9ce47b8e7ccf333feb08eb4..ae59f5b3b3d983530792cff6b55dfc0c8c9cc406 100644
(file)
--- a/
lib/tevent/tevent_queue.c
+++ b/
lib/tevent/tevent_queue.c
@@
-140,6
+140,10
@@
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);
}