mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
impl-core: fix memleak in error case
This commit is contained in:
parent
78da72ce30
commit
4ab4c57a55
1 changed files with 1 additions and 0 deletions
|
|
@ -464,6 +464,7 @@ struct pw_impl_core *pw_context_create_core(struct pw_context *context,
|
||||||
error_exit:
|
error_exit:
|
||||||
if (properties)
|
if (properties)
|
||||||
pw_properties_free(properties);
|
pw_properties_free(properties);
|
||||||
|
free(this);
|
||||||
errno = -res;
|
errno = -res;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue