fixed identification_t clone to apply function pointers

This commit is contained in:
Martin Willi 2006-06-23 13:20:17 +00:00
parent 4b24dd2d7d
commit eecb2da87d
1 changed files with 3 additions and 0 deletions

View File

@ -786,6 +786,9 @@ static identification_t *clone(private_identification_t *this)
clone->string = malloc(strlen(this->string) + 1);
strcpy(clone->string, this->string);
clone->public.equals = this->public.equals;
clone->public.belongs_to = this->public.belongs_to;
return &clone->public;
}