From 296719c632046f1e342f6f7d81517d17631655fd Mon Sep 17 00:00:00 2001
From: ekrisza <ekrisza@HU00060815.ericsson.se>
Date: Mon, 25 Jun 2018 10:47:34 +0200
Subject: [PATCH] can't check: BER decode creates such a temporary object.

Signed-off-by: ekrisza <ekrisza@HU00060815.ericsson.se>
---
 core/Objid.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/Objid.cc b/core/Objid.cc
index 28136c11a..8296e60a1 100644
--- a/core/Objid.cc
+++ b/core/Objid.cc
@@ -49,7 +49,7 @@ void OBJID::init_struct(int n_components)
     TTCN_error("Initializing an objid value with a negative number of "
       "components.");
   }
-  // TODO check n_components >= 2
+
   val_ptr = (objid_struct*)Malloc(sizeof(objid_struct)
     + (n_components - MIN_COMPONENTS) * sizeof(objid_element));
   val_ptr->ref_count = 1;
-- 
GitLab