Add missing NULL.

This commit is contained in:
Jonathan Schleifer 2012-04-21 17:35:32 +02:00
parent 63b6165a91
commit 9a97f81143
2 changed files with 2 additions and 2 deletions

View file

@ -108,7 +108,7 @@ copy(void *ptr)
CFWString *str = ptr;
CFWString *new;
if ((new = cfw_new(cfw_string)) == NULL)
if ((new = cfw_new(cfw_string, NULL)) == NULL)
return NULL;
if ((new->data = malloc(str->len + 1)) == NULL) {