- split up in libstrong, charon, stroke, testing done
- new leak detective with malloc hook in library - useable, but needs improvements - logger_manager has now a single instance per library - allows use of loggers from any linking prog - a LOT of other things
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
#include "socket_test.h"
|
||||
|
||||
#include <network/socket.h>
|
||||
#include <utils/allocator.h>
|
||||
|
||||
/*
|
||||
* Description in header file
|
||||
@@ -41,7 +40,7 @@ void test_socket(protected_tester_t *tester)
|
||||
chunk_t data;
|
||||
|
||||
|
||||
data.ptr = allocator_alloc(strlen(test_string) + 1);
|
||||
data.ptr = malloc(strlen(test_string) + 1);
|
||||
memcpy(data.ptr,test_string,strlen(test_string) + 1);
|
||||
data.len = strlen(test_string) + 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user