diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 5c90b06763b08f4e3d7c7436908e2894c39b1893..77ff87a5182d53190998860e57ab339e6fd64bb6 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -27078,6 +27078,7 @@ static int unload_module(void)
 	ao2_t_ref(threadt, -1, "unref the thread table");
 
 	clear_sip_domains();
+	ast_free_ha(global_contact_ha);
 	close(sipsock);
 	sched_context_destroy(sched);
 	con = ast_context_find(used_context);