diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2016-09-09 09:15:46 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2016-09-09 09:22:02 +0900 |
commit | 1f00a7ad993c367fe41ce08ca5531a63830dc964 (patch) | |
tree | f4caf4670974d5928e28b6f01a2928e24d70711f /vconf-compat | |
parent | 7cc037eb581464a46e6062b8963fa6a1560c7904 (diff) | |
download | buxton2-1f00a7ad993c367fe41ce08ca5531a63830dc964.tar.gz buxton2-1f00a7ad993c367fe41ce08ca5531a63830dc964.tar.bz2 buxton2-1f00a7ad993c367fe41ce08ca5531a63830dc964.zip |
Add an exception handlingsubmit/tizen_3.0_wearable/20161015.000000submit/tizen_3.0_tv/20161015.000000submit/tizen_3.0_mobile/20161015.000000submit/tizen_3.0_ivi/20161010.000010submit/tizen_3.0_ivi/20161010.000000submit/tizen/20160911.233959accepted/tizen/wearable/20160912.093223accepted/tizen/tv/20160912.093205accepted/tizen/mobile/20160912.093152accepted/tizen/ivi/20160912.093239accepted/tizen/common/20160912.180711accepted/tizen/3.0/wearable/20161015.080346accepted/tizen/3.0/tv/20161016.003451accepted/tizen/3.0/mobile/20161015.032318accepted/tizen/3.0/ivi/20161011.053529
Change-Id: Ifd4f889cdb3c214485e5f5f77c5b2c8a2fb8ed03
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Diffstat (limited to 'vconf-compat')
-rw-r--r-- | vconf-compat/vconf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vconf-compat/vconf.c b/vconf-compat/vconf.c index daa0ea2..26592a2 100644 --- a/vconf-compat/vconf.c +++ b/vconf-compat/vconf.c @@ -1121,7 +1121,9 @@ EXPORT keynode_t *vconf_keylist_nextnode(keylist_t *keylist) next = g_list_first(keylist->cursor); } - node = next->data; + if (next) + node = next->data; + keylist->cursor = next; return node; |