Fix a function cleanup bug in dns_request_createraw()
When get_dispatch() returns an error code, the dns_request_createraw()
function jumps to the cleanup
label, which will leave a previous
attachment to the request
pointer unattached.
Fix the issue by jumping to the detach
label instead.
Closes #3195 (closed)
Edited by Arаm Sаrgsyаn