Fix another leak.

This commit is contained in:
Arnaud Cornet 2009-01-05 22:56:01 +01:00
parent 96a91cd92e
commit 00a10a9f61
1 changed files with 1 additions and 0 deletions

View File

@ -1069,6 +1069,7 @@ next_file:
if (!logdata->lastfile_seeked) {
if (fseek(lf->file, lf->backlog_offset, SEEK_SET)) {
log_reinit(store);
free(buf);
return _log_wrap(destination,
"Error reading in logfile");
}