[pulseaudio-discuss] [PATCH] cpu-arm: Fix memory leak in pa_cpu_get_arm_flags()
sukesh
svadigasjce at gmail.com
Tue Mar 17 10:21:52 PDT 2015
From: Sukesh Adiga <sukesh.adiga at gmail.com>
---
src/pulsecore/cpu-arm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/pulsecore/cpu-arm.c b/src/pulsecore/cpu-arm.c
index 4c447b8..122a72b 100644
--- a/src/pulsecore/cpu-arm.c
+++ b/src/pulsecore/cpu-arm.c
@@ -119,6 +119,7 @@ void pa_cpu_get_arm_flags(pa_cpu_arm_flag_t *flags) {
pa_xfree(current);
}
+ pa_xfree(line);
}
/* get the CPU part number */
--
1.8.3.2
More information about the pulseaudio-discuss
mailing list