summaryrefslogtreecommitdiff
path: root/capplets/about-me/mate-about-me.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-03-01 13:47:56 +0100
committerraveit65 <[email protected]>2020-03-09 20:36:45 +0100
commitd3e8b95ccc82c7ef16b87d62585930f913be077e (patch)
treee47c7e4f81994b248bb4bf4407a10315fa925c53 /capplets/about-me/mate-about-me.c
parent58764d9545f34421bcaa798619d5e377688984e4 (diff)
downloadmate-control-center-d3e8b95ccc82c7ef16b87d62585930f913be077e.tar.bz2
mate-control-center-d3e8b95ccc82c7ef16b87d62585930f913be077e.tar.xz
mate-about-me: Fix memory leak
Diffstat (limited to 'capplets/about-me/mate-about-me.c')
-rw-r--r--capplets/about-me/mate-about-me.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/capplets/about-me/mate-about-me.c b/capplets/about-me/mate-about-me.c
index 417dac3c..24994e6b 100644
--- a/capplets/about-me/mate-about-me.c
+++ b/capplets/about-me/mate-about-me.c
@@ -201,6 +201,7 @@ about_me_update_photo (MateAboutMe *me)
g_free (file);
g_object_unref (pixbuf);
+ g_free (data);
} else if (me->image_changed && !me->have_image) {
/* Update the image in the card */
file = g_build_filename (g_get_home_dir (), ".face", NULL);