mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
sbc: Fix redundant null check on calling free()
Issues found by smatch static check: http://smatch.sourceforge.net/
This commit is contained in:
parent
84d91fb708
commit
16a05e52c6
1 changed files with 1 additions and 2 deletions
|
|
@ -1141,7 +1141,6 @@ void sbc_finish(sbc_t *sbc)
|
|||
if (!sbc)
|
||||
return;
|
||||
|
||||
if (sbc->priv_alloc_base)
|
||||
free(sbc->priv_alloc_base);
|
||||
|
||||
memset(sbc, 0, sizeof(sbc_t));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue