Don't set garbge pid to ports (either new or existing ones)

This commit is contained in:
Nedko Arnaudov 2012-11-19 06:42:13 +02:00
parent e99af5f8be
commit 84a338dfd2
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
/*
* LADI Session Handler (ladish)
*
* Copyright (C) 2009, 2010, 2011 Nedko Arnaudov <nedko@arnaudov.name>
* Copyright (C) 2009,2010,2011,2012 Nedko Arnaudov <nedko@arnaudov.name>
*
**************************************************************************
* This file contains implementation of the graph virtualizer object
@ -534,6 +534,7 @@ port_appeared(
goto exit;
}
pid = ladish_client_get_pid(jack_client);
has_app = ladish_client_get_app(jack_client, app_uuid);
/* find the virtual graph that owns the app that owns the client that owns the appeared port */