From: Steinar H. Gunderson Date: Sun, 22 Dec 2013 22:58:28 +0000 (+0100) Subject: Fix another harmless Valgrind hit. X-Git-Tag: 1.0~108 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=c5cd45a98c89b983f53fd8759c4e0a3cb286b96b;hp=09cf0231a4da74583b9c5ea7a54a2cf6efca3515 Fix another harmless Valgrind hit. --- 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); }