diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-04 16:34:04 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-04 16:34:04 +0000 |
commit | d328d088cf7124e397c150aa56e08faac5d6802c (patch) | |
tree | ce28b1d11d703a473e36dcd37364126ff39daaed /include/asterisk | |
parent | 354a5c2325aad130a3ad28e2168cf9ebc6bb31e1 (diff) |
HTTP module memory leaks
(closes issue #13230)
Reported by: eliel
Patches:
res_http_post_leak.patch uploaded by eliel (license 64)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@135476 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/http.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asterisk/http.h b/include/asterisk/http.h index 1f46b1eed..218ac3f1a 100644 --- a/include/asterisk/http.h +++ b/include/asterisk/http.h @@ -87,9 +87,13 @@ struct ast_http_uri { unsigned int supports_get:1; /*! This handler accepts POST requests */ unsigned int supports_post:1; + /*! Structure is malloc'd */ + unsigned int mallocd:1; + /*! Data structure is malloc'd */ + unsigned int dmallocd:1; /*! Data to bind to the uri if needed */ void *data; - /*! Key to be used for unlinking if multipile URIs registerd */ + /*! Key to be used for unlinking if multiple URIs registered */ const char *key; }; |