The screen_connector_toolkit_init() MUST be called before
calling screen_connector_toolkit_add().
Change-Id: I1e6692dab3293b0947889d6a7156effa5b59edd8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
return NULL;
}
+ type_h = g_hash_table_lookup(__type_table, GINT_TO_POINTER(type));
+ if (type_h == NULL) {
+ LOGE("Type(%s) is not initializaed", type);
+ return NULL;
+ }
+
ops_copy = (screen_connector_toolkit_ops *)calloc(1, sizeof(screen_connector_toolkit_ops));
if (ops_copy == NULL) {
LOGE("ops_copy calloc fail");