From d65496813adaeadfe70e00eccadefff34dc02d35 Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Wed, 9 May 2012 18:01:57 -0400
Subject: [PATCH] * #10725: conference_obj: don't check result of g_new0, it
 will abort on failure

---
 gnome/src/conference_obj.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/gnome/src/conference_obj.c b/gnome/src/conference_obj.c
index d77f7d35b8..5f3ce84f50 100644
--- a/gnome/src/conference_obj.c
+++ b/gnome/src/conference_obj.c
@@ -51,11 +51,6 @@ create_new_conference(conference_state_t state, const gchar* const confID)
     // Allocate memory
     conference_obj_t *new_conf = g_new0(conference_obj_t, 1);
 
-    if (!new_conf) {
-        ERROR("Could not allocate data ");
-        return NULL;
-    }
-
     // Set state field
     new_conf->_state = state;
 
-- 
GitLab