[Goodies-commits] r6465 - in xfce4-clipman-plugin/branches/xfce-4-6: . panel-plugin
Mike Massonnet
mmassonnet at xfce.org
Thu Jan 15 17:30:45 CET 2009
Author: mmassonnet
Date: 2009-01-15 16:30:45 +0000 (Thu, 15 Jan 2009)
New Revision: 6465
Modified:
xfce4-clipman-plugin/branches/xfce-4-6/ChangeLog
xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/panel-plugin.c
Log:
Some minor changes. (yet yet again)
Modified: xfce4-clipman-plugin/branches/xfce-4-6/ChangeLog
===================================================================
--- xfce4-clipman-plugin/branches/xfce-4-6/ChangeLog 2009-01-15 14:21:00 UTC (rev 6464)
+++ xfce4-clipman-plugin/branches/xfce-4-6/ChangeLog 2009-01-15 16:30:45 UTC (rev 6465)
@@ -13,6 +13,8 @@
like "what you select can be pasted".
- panel-plugin/panel-plugin.c(panel_plugin_load,panel_plugin_save):
Load/Save the images with the extension ".png".
+ - panel-plugin/panel-plugin.c(panel_plugin_load,panel_plugin_save):
+ Correct the size allocated to texts. Fixes a free corruption!
2009-01-14 Mike Massonnet
The settings dialog is in.
Modified: xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/panel-plugin.c
===================================================================
--- xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/panel-plugin.c 2009-01-15 14:21:00 UTC (rev 6464)
+++ xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/panel-plugin.c 2009-01-15 16:30:45 UTC (rev 6465)
@@ -300,7 +300,7 @@
list = clipman_history_get_list (plugin->history);
if (list != NULL)
{
- texts = g_malloc0 (g_slist_length (list));
+ texts = g_malloc0 (g_slist_length (list) * sizeof (gchar *));
for (n_texts = n_images = 0, l = list; l != NULL; l = l->next)
{
item = l->data;
More information about the Goodies-commits
mailing list