module-link-factory: fix wrong goto label

harmless, but leads to a wrong error message being printed
This commit is contained in:
George Kiagiadakis 2019-02-21 14:58:39 +02:00 committed by Wim Taymans
parent 7a7a12138f
commit 40a5063b9f

View file

@ -200,7 +200,7 @@ static void *create_object(void *_data,
else { else {
global = pw_core_find_global(core, input_port_id); global = pw_core_find_global(core, input_port_id);
if (global == NULL || pw_global_get_type(global) != PW_TYPE_INTERFACE_Port) if (global == NULL || pw_global_get_type(global) != PW_TYPE_INTERFACE_Port)
goto no_output_port; goto no_input_port;
inport = pw_global_get_object(global); inport = pw_global_get_object(global);
} }