[NUI] Fix svace issue (#735)
authorhuiyueun <35286162+huiyueun@users.noreply.github.com>
Tue, 5 Mar 2019 03:37:34 +0000 (12:37 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 5 Mar 2019 03:37:34 +0000 (12:37 +0900)
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
src/Tizen.NUI/src/internal/XamlBinding/ObservableWrapper.cs

index b897657..2a220ea 100755 (executable)
@@ -139,7 +139,7 @@ namespace Tizen.NUI.Binding
                 throw new NotSupportedException("The collection is read-only");
             int innerIndex = ToInnerIndex(index);
             TTrack item = _list[innerIndex];
-            if (item.Owned)
+            if (item != null && item.Owned)
             {
                 _list.RemoveAt(innerIndex);
                 item.Owned = false;