From c5cd45a98c89b983f53fd8759c4e0a3cb286b96b Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 22 Dec 2013 23:58:28 +0100 Subject: [PATCH 1/1] Fix another harmless Valgrind hit. --- gamma_expansion_effect.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gamma_expansion_effect.cpp b/gamma_expansion_effect.cpp index d4e532f..4574567 100644 --- a/gamma_expansion_effect.cpp +++ b/gamma_expansion_effect.cpp @@ -8,6 +8,7 @@ GammaExpansionEffect::GammaExpansionEffect() : source_curve(GAMMA_LINEAR) { register_int("source_curve", (int *)&source_curve); + memset(expansion_curve, 0, sizeof(expansion_curve)); register_1d_texture("expansion_curve_tex", expansion_curve, EXPANSION_CURVE_SIZE); } -- 2.39.2