Commit 538fbbabcf2d2e097b6f15782b365613a9d83bda
1 parent
0735aa6e
Exists in
master
and in
9 other branches
redmine Anomalie #6490
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/DECODERS/cdfnew2nc/cdfnew2nc.c
... | ... | @@ -1392,7 +1392,7 @@ char * ptr; |
1392 | 1392 | while (uiPtr == NULL || dPtr == NULL) { |
1393 | 1393 | uiPtr = (unsigned int *) malloc (sizeof(unsigned int) * numValues * numRecs); |
1394 | 1394 | dPtr = (double *) malloc (sizeof(double) * numValues * numRecs); |
1395 | - if (iPtr == NULL) { | |
1395 | + if (uiPtr == NULL) { | |
1396 | 1396 | if (DEBUG) insufficient_memory(); |
1397 | 1397 | divide *= 2; |
1398 | 1398 | numRecs = totRecs / divide; | ... | ... |