blob: f92375ac735595f7c5efad7b4204292a37d0910f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- main/http.c.orig 2014-07-07 01:10:55 UTC
+++ main/http.c
@@ -2032,7 +2032,7 @@ static int __ast_http_load(int reload)
struct http_uri_redirect *redirect;
struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 };
uint32_t bindport = DEFAULT_PORT;
- RAII_VAR(struct ast_sockaddr *, addrs, NULL, ast_free);
+ struct ast_sockaddr *addrs = NULL;
int num_addrs = 0;
int http_tls_was_enabled = 0;
|