Skip to content

Commit

Permalink
plug recent leak
Browse files Browse the repository at this point in the history
  • Loading branch information
faizshukri committed Oct 31, 2012
1 parent f2f3804 commit a0a34f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ext/mysqlnd/mysqlnd_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -978,6 +978,10 @@ MYSQLND_METHOD(mysqlnd_net, free_contents)(MYSQLND_NET * net TSRMLS_DC)
mnd_pefree(net->data->options.ssl_cipher, pers);
net->data->options.ssl_cipher = NULL;
}
if (net->data->options.sha256_server_public_key) {
mnd_pefree(net->data->options.sha256_server_public_key, pers);
net->data->options.sha256_server_public_key = NULL;
}

DBG_VOID_RETURN;
}
Expand Down

0 comments on commit a0a34f5

Please sign in to comment.