From: kilig Date: Tue, 6 Mar 2018 09:50:28 +0000 (+0900) Subject: [Tizen.Applications.DataControl] Fixed a bug for checking if IntPtr is null (#137) X-Git-Tag: 4.0.1.14106~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=73fa110aff696a7ff9ed8958396f3cd4f3e0adbb;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [Tizen.Applications.DataControl] Fixed a bug for checking if IntPtr is null (#137) --- diff --git a/src/Tizen.Applications.DataControl/Tizen.Applications.DataControl/Consumer.cs b/src/Tizen.Applications.DataControl/Tizen.Applications.DataControl/Consumer.cs index 9619d44..745b8c2 100755 --- a/src/Tizen.Applications.DataControl/Tizen.Applications.DataControl/Consumer.cs +++ b/src/Tizen.Applications.DataControl/Tizen.Applications.DataControl/Consumer.cs @@ -193,7 +193,7 @@ namespace Tizen.Applications.DataControl Log.Error(LogTag, $"reqId {reqId.ToString()}, error : {error}"); } - if (valueList !=null) + if (valueList != IntPtr.Zero) { string[] stringArray; IntPtrToStringArray(valueList, valueCount, out stringArray);