`pool_free()` is a noop when the given pointer is NULL. No need to test.
---
include/haproxy/connection.h | 20
1 file changed, 8 insertions(+), 12 deletions(-)
diff --git a/include/haproxy/connection.h b/include/haproxy/connection.h
index e00e6f820..58b0d0e7b 100644
---
This allocation technically is always reachable and cannot leak, however other
global variables such as `oldpids` are already being freed. This is in an
attempt to get HAProxy to a state where there are zero live allocations after a
clean exit.
---
src/haproxy.c | 1 +
1 file changed, 1
second patch.
From 69c810f1e8d4f4a9aedcb18663bc6cdb66f69c2d Mon Sep 17 00:00:00 2001
From: David Carlier <devne...@gmail.com>
Date: Tue, 29 Dec 2015 13:15:47 +
Subject: [PATCH 2/5] CLEANUP: list struct: void pointers arithmetic removal
second path which applies to the LIST_ELEM macr
---
include/proto/session.h |3 +-
src/session.c | 68 +++---
2 files changed, 35 insertions(+), 36 deletions(-)
diff --git a/include/proto/session.h b/include/proto/session.h
index 15f3fe7..c9195f6 100644
--- a/include/proto/session.h
+++
---
include/proto/session.h |3 +-
src/session.c | 68 +++---
2 files changed, 35 insertions(+), 36 deletions(-)
diff --git a/include/proto/session.h b/include/proto/session.h
index 15f3fe7..c9195f6 100644
--- a/include/proto/session.h
+++
5 matches
Mail list logo