mirror of https://github.com/sysown/proxysql
Change free(resultset) to delete resultset in ProxySQL_Admin::load_mcp_query_rules_to_runtime. SQLite3_result is a C++ class allocated with new, so it must be deallocated with delete, not free(). Using free() causes undefined behavior and memory leaks. Addresses coderabbitai review comment.pull/5310/head^2
parent
bbc04974f1
commit
188aef90fe
Loading…
Reference in new issue