pulse: return NULL format in error

This commit is contained in:
Wim Taymans 2020-10-23 18:08:09 +02:00
parent 732bf4b58c
commit 617afee62b

View file

@ -865,11 +865,10 @@ pa_format_info* pa_format_info_from_param(const struct spa_pod *param)
break; break;
} }
} }
out:
return f; return f;
error: error:
pa_format_info_free(f); pa_format_info_free(f);
goto out; return NULL;
} }