Skip to content

Commit 591f4f0

Browse files
committed
Merge branch 'PHP-7.2'
* PHP-7.2: Fixed invalid free introduced by d6e81f0 (avoid keeping "invalid" pointer)
2 parents fcfa006 + dad8bd5 commit 591f4f0

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
@@ -672,6 +672,7 @@ MYSQLND_METHOD(mysqlnd_conn_data, connect)(MYSQLND_CONN_DATA * conn,
672672
conn->unix_socket.s = NULL;
673673
goto err;
674674
}
675+
conn->unix_socket.s = NULL;
675676
}
676677

677678
{

0 commit comments

Comments
 (0)