mf: Make session_get_node_object() more robust.
It's possible that a state object pointer not in the topology node collection gets passed to
session_get_node_object(). Instead of returning the last node when the object is not found, we
should return a NULL so that the state of the last node is not changed by mistake.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Showing
Please
register
or
sign in
to comment