]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Skinny: release XML config
authorMathieu Parent <math.parent@gmail.com>
Thu, 8 Apr 2010 20:59:31 +0000 (22:59 +0200)
committerMathieu Parent <math.parent@gmail.com>
Thu, 8 Apr 2010 20:59:31 +0000 (22:59 +0200)
Fixes: reloadxml blocked
src/mod/endpoints/mod_skinny/skinny_protocol.c

index ec7ba83353320f7297965b6b37166c0ccf2ec1ff..2c96022bee5ed5aea97211d6937f029e9ed880c1 100644 (file)
@@ -1478,6 +1478,9 @@ switch_status_t skinny_handle_register(listener_t *listener, skinny_message_t *r
                        }
                }
        }
+       if (xroot) {
+               switch_xml_free(xroot);
+       }
 
        status = SWITCH_STATUS_SUCCESS;