[PATCH] sink-input, source-output: Fix a leak during property change logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2016-08-10 at 21:31 +0530, Arun Raghavan wrote:
> Using pa_xfree() irrespective of whether old_value is NULL or not to
> avoid potentially confusing nest of if statements.
> 
> CID: 1352052
> ---
>  src/pulsecore/sink-input.c    | 4 +++-
>  src/pulsecore/source-output.c | 4 +++-
>  2 files changed, 6 insertions(+), 2 deletions(-)

Looks good to me.

-- 
Tanu


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux