diff --git a/lib/MySQL_PreparedStatement.cpp b/lib/MySQL_PreparedStatement.cpp index f3d82ea084..5f7719492a 100644 --- a/lib/MySQL_PreparedStatement.cpp +++ b/lib/MySQL_PreparedStatement.cpp @@ -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]); }