diff options
author | monsta <[email protected]> | 2016-02-10 15:14:11 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-02-10 15:18:09 +0300 |
commit | 94804b6c05f6e20b8bca60631d3497c230acb493 (patch) | |
tree | 942bfeee932d569144ac8a010f6352c056e0517c /src | |
parent | 4f525350f4cdcb3419e12ec7ffc85373d87987b7 (diff) | |
download | eom-94804b6c05f6e20b8bca60631d3497c230acb493.tar.bz2 eom-94804b6c05f6e20b8bca60631d3497c230acb493.tar.xz |
properly zero-init a variable
from
https://git.gnome.org/browse/eog/commit/?id=11f05ec911b4208faa8f00ecd9f4830ca39fcb25
Diffstat (limited to 'src')
-rw-r--r-- | src/eom-image-jpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |