[Xfce4-commits] <thunarx-python:master> Free the emblem string

Adam Plumb noreply at xfce.org
Thu May 27 18:12:22 CEST 2010


Updating branch refs/heads/master
         to 9a1ea0979e0dd2743fc2d5c8466a9f101c31b64f (commit)
       from 0b781429f736d819d1ae1057d25f726059ef293f (commit)

commit 9a1ea0979e0dd2743fc2d5c8466a9f101c31b64f
Author: Adam Plumb <adamplumb at gmail.com>
Date:   Wed Jan 20 13:55:57 2010 -0500

    Free the emblem string

 src/thunarx.override |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/thunarx.override b/src/thunarx.override
index 510f0c7..576fc15 100644
--- a/src/thunarx.override
+++ b/src/thunarx.override
@@ -393,6 +393,8 @@ _wrap_thunarx_file_info_set_emblem(PyGObject *self, PyObject *args)
     g_object_set_qdata_full (G_OBJECT (self->obj), thunar_file_emblem_names_quark,
                                   emblem_names, (GDestroyNotify) g_strfreev);
 
+    g_free(emblem);
+
     Py_INCREF(Py_None);
     return Py_None;
 }



More information about the Xfce4-commits mailing list