Fixed resource leak in blr_file.
This commit is contained in:
parent
9ef66a6028
commit
3874400abf
@ -258,6 +258,7 @@ int fd;
|
||||
LOGIF(LE, (skygw_log_write(LOGFILE_ERROR,
|
||||
"%s: binlog file %s has an invalid length %d.",
|
||||
router->service->name, path, router->binlog_position)));
|
||||
close(fd);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user