Commit aa36b275 authored by Mickaël Turnel's avatar Mickaël Turnel

Fix memory leak

parent f8e6e0f4
......@@ -42,6 +42,9 @@ static void resolver_callback(void *data, const char *queried_name, struct addri
printf("\t%s %s (ttl:%u)\n",name,port,ttl);
}
}
if (ai_list){
bctbx_freeaddrinfo(ai_list);
}
belle_sip_main_loop_quit(belle_sip_stack_get_main_loop(stack));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment