Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ext/mbstring/mbstring.c
Original file line number Diff line number Diff line change
Expand Up @@ -4490,6 +4490,9 @@ static int _php_mbstr_parse_mail_headers(HashTable *ht, const char *str, size_t

zend_string_release_ex(fld_name, 0);
}
else if (fld_name != NULL) {
zend_string_release_ex(fld_name, 0);
}

fld_name = fld_val = NULL;
token = (char*)ps;
Expand Down Expand Up @@ -4535,6 +4538,9 @@ static int _php_mbstr_parse_mail_headers(HashTable *ht, const char *str, size_t

zend_string_release_ex(fld_name, 0);
}
else if (fld_name != NULL) {
zend_string_release_ex(fld_name, 0);
}
}
return state;
}
Expand Down
Loading