[pulseaudio-discuss] [PATCH] modules: Dynamic memory allocated to 'module_name' and 'fltr' was being leaked. Its now freed properly before return.
Arun Raghavan
arun at arunraghavan.net
Tue May 10 12:14:54 UTC 2016
On Tue, 10 May 2016, at 11:40 AM, Sachin Kumar Chauhan wrote:
> BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=95293
>
> Signed-off-by: Sachin Kumar Chauhan <sachin.kc at samsung.com>
> ---
Thanks, I've merged this now with some changes. You might want to look
at those for future patches. Summarising:
1. The commit message should follow the pattern of a short summary (72
chars is the convention), followed by a longer description
2. pa_xfree() accepts and ignores NULLs, so removed the check around the
call (this one's down to style, so either is okay, really)
3. In general, we use if (...) not if(...) -- again, this is trivial,
but do try to maintain consistency
Cheers,
Arun
More information about the pulseaudio-discuss
mailing list