[Xfce4-commits] [xfce/xfdesktop] 01/01: Fix a small memory leak

noreply at xfce.org noreply at xfce.org
Sat Mar 15 21:12:52 CET 2014


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit d0703cd604f3070325f9225477b5e08dc42b7569
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Sat Mar 15 23:10:44 2014 +0300

    Fix a small memory leak
---
 common/xfdesktop-thumbnailer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/xfdesktop-thumbnailer.c b/common/xfdesktop-thumbnailer.c
index 2ebf006..179e5b7 100644
--- a/common/xfdesktop-thumbnailer.c
+++ b/common/xfdesktop-thumbnailer.c
@@ -221,7 +221,7 @@ xfdesktop_thumbnailer_dispose(GObject *object)
             g_object_unref(thumbnailer->priv->proxy);
 
         if(thumbnailer->priv->supported_mimetypes)
-            g_free(thumbnailer->priv->supported_mimetypes);
+            g_strfreev(thumbnailer->priv->supported_mimetypes);
 
         g_free(thumbnailer->priv);
         thumbnailer->priv = NULL;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list