Bug #9162 » 0002-pcap-directory-clear-current-file-after-cleanup.patch
| src/source-pcap-file-directory-helper.c | ||
|---|---|---|
|
status = PcapFileDispatch(pftv);
|
||
|
CleanupPcapFileFileVars(pftv);
|
||
|
pv->current_file = NULL;
|
||
|
if (status == TM_ECODE_FAILED) {
|
||
|
CleanupPendingFile(current_file);
|
||
| ... | ... | |
|
}
|
||
|
CleanupPendingFile(current_file);
|
||
|
pv->current_file = NULL;
|
||
|
status = PcapRunStatus(pv);
|
||
|
}
|
||