- memory allocation now works with allocator-functions...

This commit is contained in:
Jan Hutter committed 2005-11-09 09:35:06 +00:00
1 parent 7953866962
commit 6c4b815f22
25 files changed
+57 -37

No files matched your search

+2 -1
View File
@@ -20,6 +20,7 @@
* for more details.
*/
#include "allocator.h"
#include "packet.h"
@@ -68,7 +69,7 @@ status_t set_source(packet_t *this, char *address, u_int16_t port)
packet_t *packet_create(int family)
{
packet_t *this = allocator_alloc_thing(packet_t, "packet_t");
packet_t *this = allocator_alloc_thing(packet_t);
this->destroy = destroy;
this->set_destination = set_destination;