diff options
author | evanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9> | 2007-10-22 02:58:02 +0000 |
---|---|---|
committer | evanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9> | 2007-10-22 02:58:02 +0000 |
commit | 27e2243e7cfd40438ba4c6070734b00a00a7e1f7 (patch) | |
tree | cdc7c974406cc491e68a0c5cd62e49e08b0a0a78 /ext/http11/tst_cleanup.c | |
parent | 76a4d04d1ae2c099c58e68f9022ec1ecf540546f (diff) | |
download | unicorn-27e2243e7cfd40438ba4c6070734b00a00a7e1f7.tar.gz |
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@722 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'ext/http11/tst_cleanup.c')
-rw-r--r-- | ext/http11/tst_cleanup.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/ext/http11/tst_cleanup.c b/ext/http11/tst_cleanup.c deleted file mode 100644 index a85491d..0000000 --- a/ext/http11/tst_cleanup.c +++ /dev/null @@ -1,23 +0,0 @@ - -#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); -} |