Skip to content

Commit 642f806

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Fix potential heap corruption
2 parents 993463a + c10d3d3 commit 642f806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/sockets/sockets.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ char *sockets_strerror(int error) /* {{{ */
657657
}
658658

659659
SOCKETS_G(strerror_buf) = estrdup(tmp);
660-
LocalFree(tmp);
660+
free(tmp);
661661

662662
buf = SOCKETS_G(strerror_buf);
663663
}

0 commit comments

Comments
 (0)