mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
libcamera: fixed a small leak and double free
This commit is contained in:
parent
5778de090f
commit
7c05a7f7b4
3 changed files with 10 additions and 11 deletions
|
|
@ -900,7 +900,6 @@ static int impl_clear(struct spa_handle *handle)
|
|||
|
||||
if(port->dev.camera) {
|
||||
deleteLibCamera(port->dev.camera);
|
||||
free(port->dev.camera);
|
||||
port->dev.camera = NULL;
|
||||
}
|
||||
if(this->have_source) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue