[4.1] ad32407 missing Wait_HeapDelete

PÃ¥l Hermunn Johansen hermunn at varnish-software.com
Mon Jun 6 17:43:07 CEST 2016


commit ad32407e360ee84892a41f362bc284484a2c4c63
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue May 31 17:36:56 2016 +0200

    missing Wait_HeapDelete
    
    fixes #1971

diff --git a/bin/varnishd/waiter/cache_waiter_ports.c b/bin/varnishd/waiter/cache_waiter_ports.c
index f9e3b52..0850441 100644
--- a/bin/varnishd/waiter/cache_waiter_ports.c
+++ b/bin/varnishd/waiter/cache_waiter_ports.c
@@ -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
@@ -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;



More information about the varnish-commit mailing list