summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eom-image-jpeg.c2
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) {