diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/misc.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -51,6 +51,7 @@ static inline void a_Misc_parse_content_disposition(const char *disposition, cha } if (!strchr(terminators, *s)) { + dFree(*type); *type = NULL; return; } @@ -100,6 +101,7 @@ static inline void a_Misc_parse_content_disposition(const char *disposition, cha d++; } } else if (!quoted && (!d_isascii((uchar_t)*s) || *s == '=')) { + dFree(*filename); *filename = NULL; return; } else { |