- tests are now performed in its own main tests.c

-
This commit is contained in:
Jan Hutter
2005-11-07 08:34:40 +00:00
parent 8ccd0b01f9
commit fd9cabd4e6
13 changed files with 128 additions and 103 deletions
+3 -1
View File
@@ -25,7 +25,7 @@
status_t destroy(packet_t *this)
static status_t destroy(packet_t *this)
{
pfree(this->data.ptr);
pfree(this);
@@ -37,6 +37,8 @@ packet_t *packet_create()
{
packet_t *this = alloc_thing(packet_t, "packet_t");
this->destroy = destroy;
this->data.len = 0;
this->data.ptr = NULL;
return this;