Commit d47a4bc4 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

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

parent 00c53007
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
* Version 1.6.2 released * Version 1.6.2 released
* using CGRIBEX library version 1.6.2 * 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> 2013-10-07 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* stream_cdf::isLonAxis/isLatAxis: case sensitive units check * stream_cdf::isLonAxis/isLatAxis: case sensitive units check
......
...@@ -194,8 +194,11 @@ void listSizeExtend() ...@@ -194,8 +194,11 @@ void listSizeExtend()
for (int i = oldSize; i < newListSize; ++i) for (int i = oldSize; i < newListSize; ++i)
{ {
resHList[nsp].resources[i].resH = namespaceIdxEncode2 ( nsp, i ); resHList[nsp].resources[i].resH = namespaceIdxEncode2 ( nsp, i );
resHList[nsp].resources[i].next = i + 1; 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; resHList[nsp].resources[newListSize-1].next = resHList[nsp].freeHead;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment