[Goodies-commits] r3860 - xfce4-clipman-plugin/trunk/panel-plugin

Mike Massonnet mmassonnet at xfce.org
Thu Jan 24 14:08:26 CET 2008


Author: mmassonnet
Date: 2008-01-24 13:08:26 +0000 (Thu, 24 Jan 2008)
New Revision: 3860

Modified:
   xfce4-clipman-plugin/trunk/panel-plugin/clipman.c
Log:
Forget one clipman_clip_free replacement.


Modified: xfce4-clipman-plugin/trunk/panel-plugin/clipman.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/clipman.c	2008-01-24 13:08:21 UTC (rev 3859)
+++ xfce4-clipman-plugin/trunk/panel-plugin/clipman.c	2008-01-24 13:08:26 UTC (rev 3860)
@@ -1028,9 +1028,8 @@
 
   if (G_UNLIKELY (NULL != foobar))
     {
-      /* Free this allocation that had should be used in the new clip */
-      g_free (text);
-      g_slice_free (ClipmanClip, clip);
+      /* Free the clip */
+      clipman_clip_free (clip);
 
       /* Push the existing clip to the top */
       if (type != STATIC)




More information about the Goodies-commits mailing list