* Fix crashes on disconnected pins in wmdks topologies.
* Fix potential assert on disconnected physical output pin in PinNew
}
}
+ /* Some devices may report topologies that leave pins unconnected. This may be by design or driver installation
+ issues. Pass the error condition back to caller. */
PA_DEBUG(("FindStartConnectionFrom: returning NULL\n"));
- assert(FALSE);
return 0;
}
}
}
+ /* Unconnected pin. Inform caller. */
PA_DEBUG(("FindStartConnectionTo: returning NULL\n"));
- assert(FALSE);
return 0;
}
}
else
{
- /* Should never come here! */
- assert(FALSE);
+ /* Unconnected pin */
+ goto error;
}
}
}