Skip to content

Commit

Permalink
Fixed invalid free introduced by d6e81f0 (avoid keeping "invalid" poi…
Browse files Browse the repository at this point in the history
…nter)
  • Loading branch information
dstogov committed Jun 13, 2018
1 parent e77077e commit 11507c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/mysqlnd/mysqlnd_connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,7 @@ MYSQLND_METHOD(mysqlnd_conn_data, connect)(MYSQLND_CONN_DATA * conn,
conn->unix_socket.s = NULL;
goto err;
}
conn->unix_socket.s = NULL;
}

{
Expand Down

0 comments on commit 11507c0

Please sign in to comment.