]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
tcp sack: improve tests 2081/head
authorVictor Julien <victor@inliniac.net>
Sat, 7 May 2016 15:22:22 +0000 (17:22 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 17 May 2016 10:36:54 +0000 (12:36 +0200)
src/stream-tcp-sack.c

index 9d0071aac69d678cdc7cb189a7383b8863933462..d3be60e9200ccfae0a0146e1316d901bd667c7cc 100644 (file)
@@ -396,6 +396,7 @@ static int StreamTcpSackTest01 (void)
 
     retval = 1;
 end:
+    StreamTcpSackFreeList(&stream);
     SCReturnInt(retval);
 }
 
@@ -432,6 +433,7 @@ static int StreamTcpSackTest02 (void)
 
     retval = 1;
 end:
+    StreamTcpSackFreeList(&stream);
     SCReturnInt(retval);
 }
 
@@ -470,6 +472,7 @@ static int StreamTcpSackTest03 (void)
 
     retval = 1;
 end:
+    StreamTcpSackFreeList(&stream);
     SCReturnInt(retval);
 }
 
@@ -505,6 +508,7 @@ static int StreamTcpSackTest04 (void)
 
     retval = 1;
 end:
+    StreamTcpSackFreeList(&stream);
     SCReturnInt(retval);
 }
 
@@ -540,6 +544,7 @@ static int StreamTcpSackTest05 (void)
 
     retval = 1;
 end:
+    StreamTcpSackFreeList(&stream);
     SCReturnInt(retval);
 }
 
@@ -577,6 +582,7 @@ static int StreamTcpSackTest06 (void)
 
     retval = 1;
 end:
+    StreamTcpSackFreeList(&stream);
     SCReturnInt(retval);
 }
 
@@ -623,6 +629,7 @@ static int StreamTcpSackTest07 (void)
 
     retval = 1;
 end:
+    StreamTcpSackFreeList(&stream);
     SCReturnInt(retval);
 }
 
@@ -669,6 +676,7 @@ static int StreamTcpSackTest08 (void)
 
     retval = 1;
 end:
+    StreamTcpSackFreeList(&stream);
     SCReturnInt(retval);
 }
 
@@ -716,6 +724,7 @@ static int StreamTcpSackTest09 (void)
 
     retval = 1;
 end:
+    StreamTcpSackFreeList(&stream);
     SCReturnInt(retval);
 }
 
@@ -762,6 +771,7 @@ static int StreamTcpSackTest10 (void)
 
     retval = 1;
 end:
+    StreamTcpSackFreeList(&stream);
     SCReturnInt(retval);
 }
 
@@ -808,6 +818,7 @@ static int StreamTcpSackTest11 (void)
 
     retval = 1;
 end:
+    StreamTcpSackFreeList(&stream);
     SCReturnInt(retval);
 }
 
@@ -861,6 +872,7 @@ static int StreamTcpSackTest12 (void)
 
     retval = 1;
 end:
+    StreamTcpSackFreeList(&stream);
     SCReturnInt(retval);
 }
 
@@ -893,6 +905,7 @@ static int StreamTcpSackTest13 (void) {
 
     retval = 1;
 end:
+    StreamTcpSackFreeList(&stream);
     SCReturnInt(retval);
 }
 
@@ -925,6 +938,7 @@ static int StreamTcpSackTest14 (void) {
 
     retval = 1;
 end:
+    StreamTcpSackFreeList(&stream);
     SCReturnInt(retval);
 }