pod: handle NULL

This commit is contained in:
Wim Taymans 2017-03-23 16:08:50 +01:00
parent e28b5f91b8
commit 3dba9f0fd4
10 changed files with 121 additions and 111 deletions

View file

@ -277,6 +277,8 @@ again:
*dt = buf->data;
*sz = buf->size;
spa_debug_pod (data);
return true;
}
@ -308,7 +310,7 @@ pinos_connection_end_write (PinosConnection *conn,
buf->buffer_size += 8 + size;
// spa_debug_pod (p);
spa_debug_pod (p);
pinos_signal_emit (&conn->need_flush, conn);
}