Skip to content
Snippets Groups Projects
Commit d47a4bc4 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

listSizeExtend: initialize ops, val and status (Bug #3994)

parent 00c53007
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,10 @@
* Version 1.6.2 released
* using CGRIBEX library version 1.6.2
2013-10-07 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* listSizeExtend: initialize ops, val and status (Bug #3994)
2013-10-07 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* stream_cdf::isLonAxis/isLatAxis: case sensitive units check
......
......@@ -194,8 +194,11 @@ void listSizeExtend()
for (int i = oldSize; i < newListSize; ++i)
{
resHList[nsp].resources[i].resH = namespaceIdxEncode2 ( nsp, i );
resHList[nsp].resources[i].next = i + 1;
resHList[nsp].resources[i].resH = namespaceIdxEncode2 ( nsp, i );
resHList[nsp].resources[i].next = i + 1;
resHList[nsp].resources[i].ops = NULL;
resHList[nsp].resources[i].val = NULL;
resHList[nsp].resources[i].status = RESH_UNDEFID;
}
resHList[nsp].resources[newListSize-1].next = resHList[nsp].freeHead;
......
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