mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-06 16:09:43 +00:00
module-zeroconf: only free impl when not NULL
This commit is contained in:
parent
4be14c24f5
commit
9229467f20
|
@ -512,6 +512,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
|
||||
error_errno:
|
||||
res = -errno;
|
||||
impl_free(impl);
|
||||
if (impl)
|
||||
impl_free(impl);
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue