diff --git a/src/soap.c b/src/soap.c index 5a775df..bb91ee7 100644 --- a/src/soap.c +++ b/src/soap.c @@ -70,7 +70,6 @@ char* soap_request(char *url, char *body, char *content_type) return NULL; } - answer = malloc(buf->used); answer = strdup(buf->data); ne_buffer_destroy(buf);