Fix passed to proc after free 90/68390/1 accepted/tizen/common/20160504.130835 accepted/tizen/ivi/20160504.115225 accepted/tizen/mobile/20160504.114957 accepted/tizen/tv/20160504.114827 accepted/tizen/wearable/20160504.115120 submit/tizen/20160504.064009
authorhyunuktak <hyunuk.tak@samsung.com>
Wed, 4 May 2016 01:55:23 +0000 (10:55 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Wed, 4 May 2016 01:55:27 +0000 (10:55 +0900)
Change-Id: I63f1612ace96f94f4b25344fc8df1032d51d18dc
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
framework/src/capi_vpn_service.c
packaging/capi-vpn-service.spec

index d83ce10..ff52f53 100755 (executable)
@@ -395,8 +395,8 @@ EXPORT_API int vpnsvc_deinit(vpnsvc_h handle)
                        LOGD("tun fd close success");
 
                /* free allocared handle memory */
+               vpn_handle_list = g_slist_remove(vpn_handle_list, tun_s);
                _vpnsvc_deinit_vpnsvc_tun_s(tun_s);
-               vpn_handle_list = g_slist_remove(vpn_handle_list, handle);
        }
 
        return result;
index 50c11a2..9e3b66d 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       vpnsvc-pkg
 Summary:    VPN service library in TIZEN C API
-Version:    1.0.14
+Version:    1.0.15
 Release:    1
 Group:      System/Network
 License:    Apache-2.0