Bug 570 - memory manageing in hint parameters
This commit is contained in:
@ -116,7 +116,7 @@ HINT *hint;
|
||||
return head;
|
||||
hint->next = head;
|
||||
hint->type = HINT_PARAMETER;
|
||||
hint->data = pname;
|
||||
hint->data = strdup(pname);
|
||||
hint->value = strdup(value);
|
||||
return hint;
|
||||
}
|
||||
@ -151,4 +151,4 @@ bool hint_exists(
|
||||
p_hint = &(*p_hint)->next;
|
||||
}
|
||||
return succp;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user