Sha256: 89673ab5734c9c876350a856c7131cfea2a56128d0fe8bec0a7e7a400ae19e4a

Contents?: true

Size: 392 Bytes

Versions: 5

Compression:

Stored size: 392 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

5 entries across 5 versions & 2 rubygems

Version Path
mongrel-1.0.2 ext/http11/tst_cleanup.c
mongrel-1.0.4 ext/http11/tst_cleanup.c
mongrel-1.0.3 ext/http11/tst_cleanup.c
mongrel-1.0.5 ext/http11/tst_cleanup.c
mongrel_experimental-1.1 ext/uri_classifier/tst_cleanup.c