bugfix: memory leak in reverse DNS lookup

*) in whitelist module
*) in robot mitigaiton module

Signed-off-by: paulyang <y_y@neusoft.com>