mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
bug#26346
Fix to a memory leak found by a complier warning.
This commit is contained in:
parent
09d6be9580
commit
7cf2e15dc5
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue