diff options
-rw-r--r-- | libmpdemux/http.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/http.c b/libmpdemux/http.c index f92aecf748..3f2f5bde02 100644 --- a/libmpdemux/http.c +++ b/libmpdemux/http.c @@ -36,6 +36,8 @@ http_free( HTTP_header_t *http_hdr ) { field = http_hdr->first_field; while( field!=NULL ) { field2free = field; + if (field->field_name) + free(field->field_name); field = field->next; free( field2free ); } |