summaryrefslogtreecommitdiffstats
path: root/plugins/check_mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_mysql.c')
-rw-r--r--plugins/check_mysql.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index 5b9a4fec..8dc554f1 100644
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
@@ -294,6 +294,7 @@ main (int argc, char **argv)
294 /* free the result */ 294 /* free the result */
295 mysql_free_result (res_mysqldump); 295 mysql_free_result (res_mysqldump);
296 } 296 }
297 mysql_close (&mysql);
297 } 298 }
298 if (mysqldump_threads == 0) { 299 if (mysqldump_threads == 0) {
299 die (STATE_CRITICAL, "%s\n", slaveresult); 300 die (STATE_CRITICAL, "%s\n", slaveresult);