Fix a logic error in the SACK list cleanup causing a memleak and invalid memory access at the same time.

remotes/origin/master-1.1.x
Victor Julien 15 years ago
parent 1578ef1e3e
commit f303f3f523

@ -328,7 +328,7 @@ void StreamTcpSackFreeList(TcpStream *stream) {
while (rec != NULL) {
next = rec->next;
SCFree(next);
SCFree(rec);
rec = next;
}

Loading…
Cancel
Save