From e014313711b0dff74764e6c7fd7e5d093a1abe98 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 10 Feb 2016 15:14:11 +0300 Subject: properly zero-init a variable from https://git.gnome.org/browse/eog/commit/?id=11f05ec911b4208faa8f00ecd9f4830ca39fcb25 --- src/eom-image-jpeg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/eom-image-jpeg.c b/src/eom-image-jpeg.c index 7eb24f3..21f67ff 100644 --- a/src/eom-image-jpeg.c +++ b/src/eom-image-jpeg.c @@ -121,6 +121,8 @@ init_transform_info (EomImage *image, jpeg_transform_info *info) g_return_if_fail (EOM_IS_IMAGE (image)); + memset (info, 0x0, sizeof (jpeg_transform_info)); + priv = image->priv; if (priv->trans != NULL && priv->trans_autorotate != NULL) { -- cgit v1.2.1