summaryrefslogtreecommitdiff
path: root/image-converter/caja-image-resizer.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-02-02 09:01:43 +0100
committerraveit65 <[email protected]>2020-03-25 13:19:48 +0100
commit7d0c53fe693d838b6ca649a49a57d3a775a19597 (patch)
tree1d5531b6d0e9983e6f2a07462abdf2b8a616d269 /image-converter/caja-image-resizer.c
parentd014b696b3ca43a1521f85b3313890844fe41c3a (diff)
downloadcaja-extensions-7d0c53fe693d838b6ca649a49a57d3a775a19597.tar.bz2
caja-extensions-7d0c53fe693d838b6ca649a49a57d3a775a19597.tar.xz
caja-image-resizer: fix memory leak pointed to by 'size'
Diffstat (limited to 'image-converter/caja-image-resizer.c')
-rw-r--r--image-converter/caja-image-resizer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/image-converter/caja-image-resizer.c b/image-converter/caja-image-resizer.c
index 0685466..63a0599 100644
--- a/image-converter/caja-image-resizer.c
+++ b/image-converter/caja-image-resizer.c
@@ -85,6 +85,9 @@ caja_image_resizer_finalize(GObject *object)
g_free (priv->suffix);
+ if (priv->size)
+ g_free (priv->size);
+
G_OBJECT_CLASS(caja_image_resizer_parent_class)->finalize(object);
}