Fix null pointer dereferences in udp_ready()
The query pointer was detached too early leading to null pointer reference. Move the query_detach() after the query->canceled check.
Closes #3193 (closed)
The query pointer was detached too early leading to null pointer reference. Move the query_detach() after the query->canceled check.
Closes #3193 (closed)