[Email][Non-ACR][Fixed NullReferenceException] 62/171962/1
authorSanghoon Lee <shooney.lee@samsung.com>
Thu, 8 Mar 2018 09:09:14 +0000 (18:09 +0900)
committerLee Sanghoon <shooney.lee@samsung.com>
Thu, 8 Mar 2018 09:10:55 +0000 (09:10 +0000)
Change-Id: Id143dbb78655309c0ea4a8b02db961112e8e3c74
(cherry picked from commit 76f5382f3382ef62f3480e8771ef8b19031e4d68)

tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailMessage.cs
tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailSender.cs

index f09b197..46f59d0 100755 (executable)
@@ -86,7 +86,7 @@ namespace Tizen.Messaging.Email.Tests
             }
             finally
             {
-                message.Dispose();
+                message?.Dispose();
             }
         }
 
@@ -126,7 +126,7 @@ namespace Tizen.Messaging.Email.Tests
             }
             finally
             {
-                message.Dispose();
+                message?.Dispose();
             }
         }
 
@@ -171,7 +171,7 @@ namespace Tizen.Messaging.Email.Tests
             }
             finally
             {
-                message.Dispose();
+                message?.Dispose();
             }
         }
         [Test]
@@ -215,7 +215,7 @@ namespace Tizen.Messaging.Email.Tests
             }
             finally
             {
-                message.Dispose();
+                message?.Dispose();
             }
         }
         [Test]
@@ -259,7 +259,7 @@ namespace Tizen.Messaging.Email.Tests
             }
             finally
             {
-                message.Dispose();
+                message?.Dispose();
             }
         }
 
@@ -304,7 +304,7 @@ namespace Tizen.Messaging.Email.Tests
             }
             finally
             {
-                message.Dispose();
+                message?.Dispose();
             }
         }
 
@@ -341,7 +341,7 @@ namespace Tizen.Messaging.Email.Tests
             }
             finally
             {
-                message.Dispose();
+                message?.Dispose();
             }
         }
 
index 8b6627c..1c6ba00 100755 (executable)
@@ -93,7 +93,7 @@ namespace Tizen.Messaging.Email.Tests
             }
             finally
             {
-                message.Dispose();
+                message?.Dispose();
             }
         }
 
@@ -140,7 +140,7 @@ namespace Tizen.Messaging.Email.Tests
             }
             finally
             {
-                message.Dispose();
+                message?.Dispose();
             }
         }