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:32:39 +0100
commit9a8199449b9500aff28b5da4a5ac4988e49c2b92 (patch)
tree9a9e5019308ae3f25f5bd0c152e9e8776d19b34a /capplets/about-me/mate-about-me.c
parent7de9b826649481a3be810605473995264ffce3ed (diff)
downloadmate-control-center-9a8199449b9500aff28b5da4a5ac4988e49c2b92.tar.bz2
mate-control-center-9a8199449b9500aff28b5da4a5ac4988e49c2b92.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);