bug#26346

Fix to a memory leak found by a complier warning.
This commit is contained in:
unknown 2007-03-23 19:30:25 -04:00
parent 09d6be9580
commit 7cf2e15dc5

View file

@ -1528,11 +1528,11 @@ static uint dump_events_for_db(char *db)
fprintf(sql_file, "/*!50106 %s */ %s\n", row[3], delimiter);
}
} /* end of event printing */
mysql_free_result(event_res);
} /* end of list of events */
fprintf(sql_file, "DELIMITER ;\n");
fprintf(sql_file, "/*!50106 SET TIME_ZONE= @save_time_zone */ ;\n");
mysql_free_result(event_res);
}
mysql_free_result(event_list_res);