Searched refs:newOps (Results 1 – 1 of 1) sorted by relevance
208 struct BBoxOps *newOps = NULL; in BBoxRegisterModuleOps() local217 newOps = malloc(sizeof(*newOps)); in BBoxRegisterModuleOps()218 if (newOps == NULL) { in BBoxRegisterModuleOps()222 (void)memset_s(newOps, sizeof(*newOps), 0, sizeof(*newOps)); in BBoxRegisterModuleOps()223 (void)memcpy_s(&newOps->ops, sizeof(newOps->ops), ops, sizeof(*ops)); in BBoxRegisterModuleOps()226 free(newOps); in BBoxRegisterModuleOps()236 free(newOps); in BBoxRegisterModuleOps()243 UtilsListTailInsert(&g_opsList, &newOps->opsList); in BBoxRegisterModuleOps()