Skip to content

Commit

Permalink
maybe finally fix php#8517
Browse files Browse the repository at this point in the history
  • Loading branch information
hwde committed Jun 15, 2022
1 parent 3e128ee commit e4564da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sapi/fpm/fpm/zlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ zlog_bool zlog_stream_set_msg_suffix(
stream->msg_final_suffix_len = strlen(final_suffix);
len = stream->msg_final_suffix_len + 1;
if (stream->msg_final_suffix != NULL) {
free(stream->msg_suffix);
free(stream->msg_final_suffix);
}
stream->msg_final_suffix = malloc(len);
if (stream->msg_final_suffix == NULL) {
Expand Down

0 comments on commit e4564da

Please sign in to comment.