From 135a3215c305b71b2eca9923776c56016668309f Mon Sep 17 00:00:00 2001 From: Sangchul Lee Date: Thu, 23 Jan 2025 10:00:50 +0900 Subject: [PATCH] stream-manager: Fix resource leak [Version] 15.0.82 [Issue Type] Coverity Defect (Resource leak) Change-Id: I89262fce2de1e259d141ca13f4dd734dac3080a0 Signed-off-by: Sangchul Lee --- packaging/pulseaudio-modules-tizen.spec | 2 +- src/stream-manager.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/pulseaudio-modules-tizen.spec b/packaging/pulseaudio-modules-tizen.spec index 1972c04..6c2f6c3 100644 --- a/packaging/pulseaudio-modules-tizen.spec +++ b/packaging/pulseaudio-modules-tizen.spec @@ -2,7 +2,7 @@ Name: pulseaudio-modules-tizen Summary: Pulseaudio modules for Tizen -Version: 15.0.81 +Version: 15.0.82 Release: 0 Group: Multimedia/Audio License: LGPL-2.1+ diff --git a/src/stream-manager.c b/src/stream-manager.c index f325581..1e5dd4d 100644 --- a/src/stream-manager.c +++ b/src/stream-manager.c @@ -967,7 +967,7 @@ static int get_stream_infos(json_object *o, pa_hashmap *stream_infos) { return 0; fail: - pa_xfree(s); + stream_info_free(s); return -1; } -- 2.34.1