Commit 889c89dd3abc8bee70004f041240b67af30bac3c

Authored by David Mayerich
1 parent bda1bd09

fixed memory leak in ENVI.spectrum

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
stim/envi/envi.h
... ... @@ -1453,6 +1453,7 @@ public:
1453 1453 exit(1);
1454 1454 }
1455 1455 }
  1456 + free(temp);
1456 1457 }
1457 1458  
1458 1459 /// Retrieve a spectrum from the specified (x, y) location
... ...