mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
virSecuritySELinuxQEMUInitialize: virHashNew
cannot return NULL
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
50b068d239
commit
cc69362e36
@ -758,8 +758,7 @@ virSecuritySELinuxQEMUInitialize(virSecurityManager *mgr)
|
||||
VIR_DEBUG("Loaded file context '%s', content context '%s'",
|
||||
data->file_context, data->content_context);
|
||||
|
||||
if (!(data->mcs = virHashNew(NULL)))
|
||||
goto error;
|
||||
data->mcs = virHashNew(NULL);
|
||||
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user