nwfilter: Add missing goto err_exit in error path

https://bugzilla.redhat.com/show_bug.cgi?id=1071095

Add a missing goto err_exit in the error path where an unsupported
value is assigned to the CTRL_IP_LEARNING key.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
Stefan Berger 2014-03-12 10:35:13 -04:00 committed by Stefan Berger
parent 06e788e518
commit 41064facd4

View File

@ -732,6 +732,7 @@ virNWFilterInstantiate(const unsigned char *vmuuid ATTRIBUTE_UNUSED,
_("filter '%s' "
"learning value '%s' invalid."),
filter->name, learning);
goto err_exit;
}
} else
goto err_unresolvable_vars;