diff options
author | Junghoon Park <jh9216.park@samsung.com> | 2016-11-30 17:01:54 +0900 |
---|---|---|
committer | Junghoon Park <jh9216.park@samsung.com> | 2016-11-30 17:01:54 +0900 |
commit | d1d148d3981632531c3c0b31cc6ba1c15cfc269d (patch) | |
tree | 3cbf7c62f8227001906e2f04e39f5013ce0b07c4 | |
parent | 8f3616ab0951a76bf2080e50a6bd0ff8c77b0637 (diff) | |
download | appcore-widget-d1d148d3981632531c3c0b31cc6ba1c15cfc269d.tar.gz appcore-widget-d1d148d3981632531c3c0b31cc6ba1c15cfc269d.tar.bz2 appcore-widget-d1d148d3981632531c3c0b31cc6ba1c15cfc269d.zip |
Use strdup instead of g_strdup
- strdup should be used beacase it was freed by free()
Change-Id: I77c200e75661c27e0ac5eb26f6cc9ad190d7475c
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
-rwxr-xr-x | src/widget_app.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget_app.c b/src/widget_app.c index 374e437..dc45392 100755 --- 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; |