Skip to content

Commit

Permalink
missing Wait_HeapDelete
Browse files Browse the repository at this point in the history
fixes #1971
  • Loading branch information
nigoroll committed May 31, 2016
1 parent 45ca71b commit cf056c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/varnishd/waiter/cache_waiter_ports.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (c) 2006 Varnish Software AS
* Copyright (c) 2007 OmniTI Computer Consulting, Inc.
* Copyright (c) 2007 Theo Schlossnagle
* Copyright (c) 2010-2015 UPLEX, Nils Goroll
* Copyright (c) 2010-2016 UPLEX, Nils Goroll
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -165,6 +165,7 @@ vws_thread(void *priv)
}
CHECK_OBJ_NOTNULL(wp, WAITED_MAGIC);
vws_del(vws, wp->fd);
Wait_HeapDelete(w, wp);
Wait_Call(w, wp, WAITER_TIMEOUT, now);
}
then = vws->next - now;
Expand Down

0 comments on commit cf056c4

Please sign in to comment.