Use strdup instead of g_strdup
[platform/core/appfw/appcore-widget.git] / src / widget_app.c
index 374e437..dc45392 100755 (executable)
@@ -413,7 +413,7 @@ static int __instance_create(widget_class_h handle, const char *id, const char *
                return WIDGET_ERROR_OUT_OF_MEMORY;
 
        wc->state = WC_READY;
-       wc->id = g_strdup(id);
+       wc->id = strdup(id);
        wc->provider = handle;
        wc->win = NULL;
        wc->win_id = -1;