diff options
Diffstat (limited to 'Source/testing/packet_test.c')
-rw-r--r-- | Source/testing/packet_test.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/testing/packet_test.c b/Source/testing/packet_test.c index 9ba099cd2..fdb195ec1 100644 --- a/Source/testing/packet_test.c +++ b/Source/testing/packet_test.c @@ -26,7 +26,6 @@ #include <daemon.h> #include <network/packet.h> -#include <utils/allocator.h> #include <utils/logger_manager.h> @@ -41,7 +40,7 @@ void test_packet(protected_tester_t *tester) char *string_to_copy = "aha, soso"; data.len = strlen(string_to_copy) + 1; - data.ptr = allocator_alloc(data.len); + data.ptr = malloc(data.len); memcpy(data.ptr, string_to_copy, data.len); packet->set_data(packet, data); |