Skip to content
Snippets Groups Projects
Commit 296719c6 authored by ekrisza's avatar ekrisza
Browse files

can't check: BER decode creates such a temporary object.


Signed-off-by: default avatarekrisza <ekrisza@HU00060815.ericsson.se>
parent afb4d220
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment