Fix svace2.2 issue 38/103338/1 accepted/tizen/common/20161208.135527 accepted/tizen/ivi/20161209.005529 accepted/tizen/mobile/20161209.005430 accepted/tizen/tv/20161209.005451 accepted/tizen/wearable/20161209.005510 submit/tizen/20161208.061842
authorsinikang <sinikang@samsung.com>
Thu, 8 Dec 2016 05:57:56 +0000 (14:57 +0900)
committersinikang <sinikang@samsung.com>
Thu, 8 Dec 2016 05:57:56 +0000 (14:57 +0900)
Change-Id: Ib55c436d1b0deaf5d1a8901d8d18c2bd1cfd35cd

packaging/libtcore.spec
src/hal.c

index a525f5c..42f4f79 100644 (file)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 3
-%define patchlevel 8
+%define patchlevel 9
 
 Name:           libtcore
 Version:        %{major}.%{minor}.%{patchlevel}
index e490e4c..e422fca 100644 (file)
--- a/src/hal.c
+++ b/src/hal.c
@@ -497,7 +497,7 @@ TReturn tcore_hal_remove_send_hook(TcoreHal *hal, TcoreHalSendHook func)
        if (!hal)
                return TCORE_RETURN_EINVAL;
 
-       for (list = hal->hook_list_send; list; list = list->next) {
+       for (list = hal->hook_list_send; list; list = g_slist_next(list)) {
                hook = list->data;
                if (!hook)
                        continue;