Skip to content

Commit f25afaf

Browse files
committed
Merge branch 'PHP-8.1'
2 parents b1223ee + 75743ea commit f25afaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/fpm/fpm/fpm_conf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,8 +769,8 @@ static int fpm_evaluate_full_path(char **path, struct fpm_worker_pool_s *wp, cha
769769
}
770770

771771
if (strlen(*path) > strlen("$prefix")) {
772-
free(*path);
773772
tmp = strdup((*path) + strlen("$prefix"));
773+
free(*path);
774774
*path = tmp;
775775
} else {
776776
free(*path);

0 commit comments

Comments
 (0)