projects
/
platform
/
core
/
appfw
/
appcore-widget.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use strdup instead of g_strdup
[platform/core/appfw/appcore-widget.git]
/
src
/
widget_app.c
diff --git
a/src/widget_app.c
b/src/widget_app.c
index
374e437
..
dc45392
100755
(executable)
--- a/
src/widget_app.c
+++ b/
src/widget_app.c
@@
-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;