Fixed assertion error. This was a regression caused by the fix to
@@ -836,7 +836,6 @@ void qdpn_driver_free(qdpn_driver_t *d)
qdpn_connector_t *conn = DEQ_HEAD(d->connectors);
while (conn) {
- DEQ_REMOVE_HEAD(d->connectors);
qdpn_connector_free(conn);
conn = DEQ_HEAD(d->connectors);
}
@@ -844,7 +843,6 @@ void qdpn_driver_free(qdpn_driver_t *d)
qdpn_listener_t *listener = DEQ_HEAD(d->listeners);
while (listener) {
- DEQ_REMOVE_HEAD(d->listeners);
qdpn_listener_free(listener);
listener = DEQ_HEAD(d->listeners);
}
