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 664317f commit 7d145a94524a6bfc025bfe36388c071f35a16f8a
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/raster/qgsrasterbandstats.h
@@ -45,6 +45,7 @@ class CORE_EXPORT QgsRasterBandStats
stdDev = 0.0;
sum = 0.0;
elementCount = 0;
histogramVector = new HistogramVector();
isHistogramEstimated = false;
isHistogramOutOfRange = false;
}

0 comments on commit 7d145a9

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