Fix handle leak issue 34/130334/1 accepted/tizen/unified/20170522.190658 submit/tizen/20170522.111436 tizen_4.0.m1_release
authorSuyeon Hwang <stom.hwang@samsung.com>
Mon, 22 May 2017 05:03:14 +0000 (14:03 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Mon, 22 May 2017 05:03:14 +0000 (14:03 +0900)
Change-Id: If3a9b31760a24f29e5538e86129e7d1dd6651350
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommandList.cs
packaging/csapi-uix-voicecontrol.spec

index c18ca21..c8bae3c 100755 (executable)
@@ -49,7 +49,7 @@ namespace Tizen.Uix.VoiceControl
         /// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
         public VoiceCommandList()
         {
-            SafeCommandListHandle handle = new SafeCommandListHandle();
+            SafeCommandListHandle handle;
             ErrorCode error = VcCmdListCreate(out handle);
             if (error != ErrorCode.None)
             {
index d48ebea..03c062e 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       csapi-uix-voicecontrol
 Summary:    Tizen Uix Voice Control API for C#
-Version:    1.0.4
+Version:    1.0.5
 Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0