1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-06 18:30:01 +00:00

Hey that's leaking

This commit is contained in:
Mathieu Rene 2014-02-22 21:30:22 -05:00
parent 2a3a1aae44
commit 58363014c4

@ -320,8 +320,8 @@ static switch_status_t do_config(void)
binding->host = switch_core_strdup(globals.pool, host); binding->host = switch_core_strdup(globals.pool, host);
binding->port = atoi(port); binding->port = atoi(port);
binding->vars_map = vars_map; binding->vars_map = vars_map;
binding->uri = switch_mprintf("/%s", bname); binding->uri = switch_core_sprintf(globals.pool, "/%s", bname);
binding->url = switch_mprintf("scgi://%s:%s/%s", host, port, bname); binding->url = switch_core_sprintf(globals.pool, "scgi://%s:%s/%s", host, port, bname);
if (server) { if (server) {
binding->server = switch_core_strdup(globals.pool, server); binding->server = switch_core_strdup(globals.pool, server);