virNWFilterParseParamAttributes: virHashNew cannot return NULL

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Tim Wiederhake 2021-07-06 10:30:34 +02:00
parent 8de3bb0f58
commit e18d41444e

View File

@ -702,8 +702,6 @@ virNWFilterParseParamAttributes(xmlNodePtr cur)
virNWFilterVarValue *value;
GHashTable *table = virHashNew(virNWFilterVarValueHashFree);
if (!table)
return NULL;
cur = cur->children;