summaryrefslogtreecommitdiff
path: root/image-converter
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-02-02 09:07:10 +0100
committerraveit65 <[email protected]>2020-03-25 13:20:47 +0100
commit7fdb280466fa41e94214c18db0a273e7a74ec3c7 (patch)
tree08d6bac1c8e7ca8fde18b905ed9188f6e5b0390e /image-converter
parent7d0c53fe693d838b6ca649a49a57d3a775a19597 (diff)
downloadcaja-extensions-7fdb280466fa41e94214c18db0a273e7a74ec3c7.tar.bz2
caja-extensions-7fdb280466fa41e94214c18db0a273e7a74ec3c7.tar.xz
caja-image-rotator: fix memory leak pointed to by 'angle'
Diffstat (limited to 'image-converter')
-rw-r--r--image-converter/caja-image-rotator.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/image-converter/caja-image-rotator.c b/image-converter/caja-image-rotator.c
index 7ba0271..733d971 100644
--- a/image-converter/caja-image-rotator.c
+++ b/image-converter/caja-image-rotator.c
@@ -82,6 +82,9 @@ caja_image_rotator_finalize(GObject *object)
g_free (priv->suffix);
+ if (priv->angle)
+ g_free (priv->angle);
+
G_OBJECT_CLASS(caja_image_rotator_parent_class)->finalize(object);
}