mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
706aef01fb
and he also close the bug upstream :D So we are in sync with his source code and bug 10279 is closed with this commit. git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@586 19e92222-5c0b-0410-8929-a290d50e31e9
23 lines
392 B
C
23 lines
392 B
C
|
|
#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);
|
|
}
|