diff options
author | rbuj <[email protected]> | 2020-02-02 09:01:43 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-03-25 13:19:48 +0100 |
commit | 7d0c53fe693d838b6ca649a49a57d3a775a19597 (patch) | |
tree | 1d5531b6d0e9983e6f2a07462abdf2b8a616d269 | |
parent | d014b696b3ca43a1521f85b3313890844fe41c3a (diff) | |
download | caja-extensions-7d0c53fe693d838b6ca649a49a57d3a775a19597.tar.bz2 caja-extensions-7d0c53fe693d838b6ca649a49a57d3a775a19597.tar.xz |
caja-image-resizer: fix memory leak pointed to by 'size'
-rw-r--r-- | image-converter/caja-image-resizer.c | 3 |
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); } |