提交 07d9cfa9 编写于 作者: Y yuqing

bug fixed: caused by memory organize

上级 65d0e022
......@@ -266,7 +266,7 @@ ConnectionInfo *conn_pool_get_connection(ConnectionPool *cp,
cm->free_count);
conn_pool_disconnect_server(ci);
free(ci);
free(node);
continue;
}
......@@ -328,7 +328,7 @@ int conn_pool_close_connection_ex(ConnectionPool *cp, ConnectionInfo *conn,
conn->sock, cm->total_count, cm->free_count);
conn_pool_disconnect_server(conn);
free(conn);
free(node);
}
else
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册