Sha256: 193e9cd5fa908b526b892c4f7e816f8afa4f7adb9ebd8a1a4403585f099f49f8

Contents?: true

Size: 393 Bytes

Versions: 32

Compression:

Stored size: 393 Bytes

Contents

#include "tst.h"
#include <stdio.h>
#include <stdlib.h>

void tst_cleanup(struct tst *tst)
{
   struct node_lines *current_line;
   struct node_lines *next_line;

   next_line = tst->node_lines;

   do
   {
      current_line = next_line;
      next_line = current_line->next;
      free(current_line->node_line);
      free(current_line);
   }
   while(next_line != NULL);

   free(tst);
}

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
IOWA-1.0.3 ext/Classifier/tst_cleanup.c
IOWA-1.0.2 ext/Classifier/tst_cleanup.c
IOWA-1.0.0 ext/Classifier/tst_cleanup.c
mongrel-0.2.0 ext/http11/tst_cleanup.c
mongrel-0.3.1 ext/http11/tst_cleanup.c
mongrel-0.2.2 ext/http11/tst_cleanup.c
mongrel-0.2.1 ext/http11/tst_cleanup.c
mongrel-0.3.10.1 ext/http11/tst_cleanup.c
mongrel-0.3.12.2 ext/http11/tst_cleanup.c
mongrel-0.3.10 ext/http11/tst_cleanup.c
mongrel-0.3.12.1 ext/http11/tst_cleanup.c
mongrel-0.3.12.3 ext/http11/tst_cleanup.c
mongrel-0.3.11 ext/http11/tst_cleanup.c
mongrel-0.3.13.1 ext/http11/tst_cleanup.c
mongrel-0.3.12 ext/http11/tst_cleanup.c
mongrel-0.3.12.4 ext/http11/tst_cleanup.c
mongrel-0.3.13.2 ext/http11/tst_cleanup.c
mongrel-0.3.13.4 ext/http11/tst_cleanup.c
mongrel-0.3.13 ext/http11/tst_cleanup.c
mongrel-0.3.13.3 ext/http11/tst_cleanup.c