mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-14 06:59:57 -05:00
protocol-native: avoid NULL pointer access
This commit is contained in:
parent
aa2e2f192b
commit
8da7222c7e
1 changed files with 4 additions and 4 deletions
|
|
@ -534,10 +534,10 @@ on_remote_data(void *data, int fd, uint32_t mask)
|
|||
|
||||
proxy = pw_remote_find_proxy(this, msg->id);
|
||||
if (proxy == NULL || proxy->zombie) {
|
||||
if (proxy->zombie)
|
||||
pw_log_debug(NAME" %p: zombie proxy %u", this, msg->id);
|
||||
else
|
||||
if (proxy == NULL)
|
||||
pw_log_error(NAME" %p: could not find proxy %u", this, msg->id);
|
||||
else
|
||||
pw_log_debug(NAME" %p: zombie proxy %u", this, msg->id);
|
||||
|
||||
/* FIXME close fds */
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue