Skip to content
Snippets Groups Projects
Commit d6549681 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #10725: conference_obj: don't check result of g_new0, it will abort on failure

parent f741a8fe
Branches
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment