From a7d453872f8b2cc8ceee0ca8232c7a2a1f874093 Mon Sep 17 00:00:00 2001 From: Garrick He <32883830+GarrickHe@users.noreply.github.com> Date: Wed, 3 Feb 2021 20:32:13 -0800 Subject: [PATCH] [sFlow] - Fix memory leak (#6662) * Bump version number to 2.0.32-1 to include a fix for a memory-leak found during testing. A wrong API is used to free the cJSON data-structure, which only frees the first pointed-to structure. The proper API should recursively free all structures. Signed-off-by: Garrick He --- rules/sflow.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/sflow.mk b/rules/sflow.mk index f41bde774f..7f0ac72bed 100644 --- a/rules/sflow.mk +++ b/rules/sflow.mk @@ -1,7 +1,7 @@ # host-sflow package -HSFLOWD_VERSION = 2.0.28 -HSFLOWD_SUBVERSION = 2 +HSFLOWD_VERSION = 2.0.32 +HSFLOWD_SUBVERSION = 1 export HSFLOWD_VERSION HSFLOWD_SUBVERSION HSFLOWD = hsflowd_$(HSFLOWD_VERSION)-$(HSFLOWD_SUBVERSION)_$(CONFIGURED_ARCH).deb