Signed-off-by: Tim Wiederhake <twiederh(a)redhat.com>
---
src/conf/virdomainmomentobjlist.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/conf/virdomainmomentobjlist.c b/src/conf/virdomainmomentobjlist.c
index c0896685a9..17b9c16ae7 100644
--- a/src/conf/virdomainmomentobjlist.c
+++ b/src/conf/virdomainmomentobjlist.c
@@ -274,10 +274,6 @@ virDomainMomentObjListNew(void)
moments = g_new0(virDomainMomentObjList, 1);
moments->objs = virHashNew(virDomainMomentObjListDataFree);
- if (!moments->objs) {
- VIR_FREE(moments);
- return NULL;
- }
return moments;
}
--
2.31.1