Skip to content
Permalink
Browse files

Fix bugs causing a crash when histogram is gathered due to uninitilis…

…ed histogram vector
  • Loading branch information
timlinux committed Jun 30, 2011
1 parent 1084ec5 commit 3358e175ba9a7016ced9608637f2cabe8958898b
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/raster/qgsrasterbandstats.h
@@ -46,6 +46,7 @@ class CORE_EXPORT QgsRasterBandStats
stdDev = 0.0;
sum = 0.0;
elementCount = 0;
histogramVector = new HistogramVector();
isHistogramEstimated = false;
isHistogramOutOfRange = false;
}

0 comments on commit 3358e17

Please sign in to comment.
You can’t perform that action at this time.