Module: sip-router
Branch: master
Commit: 5fe289cae2ece412eeaec4efefcb411a7ed434aa
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5fe289c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Apr 21 21:43:05 2014 +0200
tls: free the file path clone when all went ok
---
modules/tls/tls_config.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/tls/tls_config.c b/modules/tls/tls_config.c
index 917d5d6..fa52800 100644
--- a/modules/tls/tls_config.c
+++ b/modules/tls/tls_config.c
@@ -423,6 +423,7 @@ tls_domains_cfg_t* tls_load_config(str* filename)
cfg_section_parser(parser, parse_domain, NULL);
if (sr_cfg_parse(parser)) goto error;
cfg_parser_close(parser);
+ if (file_path) pkg_free(file_path);
return cfg;
error: