malloc() before strdup() makes no sense

This commit is contained in:
fpeters 2004-09-24 14:49:49 +00:00
parent ab9ab0bbab
commit 6f051a105b
1 changed files with 0 additions and 1 deletions

View File

@ -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);