Skip to content

Commit dad8bd5

Browse files
committed
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Fixed invalid free introduced by d6e81f0 (avoid keeping "invalid" pointer)
2 parents d04a1e8 + 11507c0 commit dad8bd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/mysqlnd/mysqlnd_connection.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,7 @@ MYSQLND_METHOD(mysqlnd_conn_data, connect)(MYSQLND_CONN_DATA * conn,
684684
conn->unix_socket.s = NULL;
685685
goto err;
686686
}
687+
conn->unix_socket.s = NULL;
687688
}
688689

689690
{

0 commit comments

Comments
 (0)