fixed identification_t clone to apply function pointers
This commit is contained in:
parent
4b24dd2d7d
commit
eecb2da87d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue