[PATCH 2/5] CLEANUP: connection: Remove useless test for NULL before calling `pool_free()`

2021-03-06 Thread Tim Duesterhus
`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 ---

[PATCH 2/5] CLEANUP: Free old_argv on deinit

2020-09-10 Thread Tim Duesterhus
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

[PATCH 2/5]: CLEANUP

2015-12-29 Thread David CARLIER
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

[PATCH 2/5] [CLEANUP] session.c: Make functions static where possible

2011-06-21 Thread Simon Horman
--- 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 +++

[PATCH 2/5] [CLEANUP] session.c: Make functions static where possible

2011-06-21 Thread Simon Horman
--- 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 +++