From aca394bf0cea646cc78c5e0e8a72cc5d1f21452b Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Mon, 4 Aug 2008 16:34:04 +0000 Subject: HTTP module memory leaks (closes issue #13230) Reported by: eliel Patches: res_http_post_leak.patch uploaded by eliel (license 64) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135476 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/http.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/asterisk') 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; }; -- cgit v1.2.3