修复多处内存泄漏。

This commit is contained in:
zhengchao
2018-11-29 16:24:45 +08:00
parent bcfed2bab1
commit f76a8c5ca2
7 changed files with 48 additions and 28 deletions

View File

@@ -291,8 +291,8 @@ typedef void (http_session_end_cb)(const struct tfe_stream * stream,
/* Tools functions for standard HTTP header field name */
struct http_field_name * http_field_name_duplicate(const struct http_field_name * orig);
int http_field_name_compare(const struct http_field_name * lvalue, const struct http_field_name * rvalue);
const char * http_field_to_string(const struct http_field_name * field);
void http_field_destory(struct http_field_name *);
const char * http_field_name_to_string(const struct http_field_name * field);
void http_field_name_destory(struct http_field_name *);
/* Tools functions for standard HTTP method */
const char * http_std_method_to_string(enum tfe_http_std_method method);