Skip to content

Commit

Permalink
Fixed memory leak in querying stats_mysql_prepared_statements_info
Browse files Browse the repository at this point in the history
  • Loading branch information
rahim-kanji committed Feb 16, 2024
1 parent a941bf3 commit 1e4c108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MySQL_PreparedStatement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ class PS_global_stats {
}
void free_row(char **pta) {
int i;
for (i=0;i<7;i++) {
for (i=0;i<9;i++) {
assert(pta[i]);
free(pta[i]);
}
Expand Down

0 comments on commit 1e4c108

Please sign in to comment.