Fix some crashers

This commit is contained in:
Wim Taymans 2017-03-13 11:43:34 +01:00
parent 6e4a7c779a
commit 9b93fd396a
3 changed files with 7 additions and 3 deletions

View file

@ -219,7 +219,7 @@ try_link_port (PinosNode *node,
error:
{
pinos_log_error ("module %p: can't link node '%s'", impl, error);
if (info->info->client) {
if (info->info->client && info->info->client->core_resource) {
pinos_core_notify_error (info->info->client->core_resource,
info->resource->id,
SPA_RESULT_ERROR,