Fixed resource leak in blr_file.

This commit is contained in:
Markus Makela
2015-04-28 11:45:53 +03:00
parent 9ef66a6028
commit 3874400abf

View File

@ -258,6 +258,7 @@ int fd;
LOGIF(LE, (skygw_log_write(LOGFILE_ERROR, LOGIF(LE, (skygw_log_write(LOGFILE_ERROR,
"%s: binlog file %s has an invalid length %d.", "%s: binlog file %s has an invalid length %d.",
router->service->name, path, router->binlog_position))); router->service->name, path, router->binlog_position)));
close(fd);
return; return;
} }
} }