fix res may NULL in Resolver.cpp

Signed-off-by: xiehuc <xiehuc@gmail.com>

Signed-off-by: xiehuc <xiehuc@gmail.com>