From: Sangchul Lee Date: Thu, 23 Jan 2025 01:00:50 +0000 (+0900) Subject: stream-manager: Fix resource leak X-Git-Tag: accepted/tizen/9.0/unified/20250206.165043~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dcb4460f26981e09476f0774484a8d7354aa776d;p=platform%2Fcore%2Fmultimedia%2Fpulseaudio-modules-tizen.git stream-manager: Fix resource leak [Version] 15.0.82 [Issue Type] Coverity Defect (Resource leak) Change-Id: I89262fce2de1e259d141ca13f4dd734dac3080a0 Signed-off-by: Sangchul Lee --- diff --git a/packaging/pulseaudio-modules-tizen.spec b/packaging/pulseaudio-modules-tizen.spec index 45273a5..5e91997 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; }