moments: Fix null pointer dereference in calc_moments().
authorBen Pfaff <blp@gnu.org>
Thu, 11 Feb 2010 04:19:44 +0000 (20:19 -0800)
committerBen Pfaff <blp@gnu.org>
Sat, 20 Feb 2010 01:16:13 +0000 (17:16 -0800)
commitb9c33df5fb3e621c641045ac90c211d33e2bf983
treee4dc9bfb93fb626aa80eb71fe7de4c792569edbf
parentaae05afe01d4d937338709c22bee625ac13c2254
moments: Fix null pointer dereference in calc_moments().

Found by Clang (http://clang-analyzer.llvm.org).
src/math/moments.c