net: dns: prevent crash on nullptr as callback
When a query is done, the query isn't set to NULL.
This can cause a nullptr exception in invoke_query_callback().
Signed-off-by:
Jeroen van Dooren <jeroen.van.dooren@nobleo.nl>
Loading
Please sign in to comment