Fix another leak.
This commit is contained in:
parent
96a91cd92e
commit
00a10a9f61
@ -1069,6 +1069,7 @@ next_file:
|
|||||||
if (!logdata->lastfile_seeked) {
|
if (!logdata->lastfile_seeked) {
|
||||||
if (fseek(lf->file, lf->backlog_offset, SEEK_SET)) {
|
if (fseek(lf->file, lf->backlog_offset, SEEK_SET)) {
|
||||||
log_reinit(store);
|
log_reinit(store);
|
||||||
|
free(buf);
|
||||||
return _log_wrap(destination,
|
return _log_wrap(destination,
|
||||||
"Error reading in logfile");
|
"Error reading in logfile");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user