[evolution-patches] [copy-tool plugin] Fix for bug #313430



Hi,

This patch fixes the bug # 313430.

Thanks
Devashish
? plugins/copy-tool/.copy-tool.c.swp
Index: plugins/copy-tool/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/plugins/copy-tool/ChangeLog,v
retrieving revision 1.8
diff -u -p -r1.8 ChangeLog
--- plugins/copy-tool/ChangeLog	12 May 2005 04:27:37 -0000	1.8
+++ plugins/copy-tool/ChangeLog	19 Aug 2005 09:29:07 -0000
@@ -1,3 +1,7 @@
+2005-08-19  Devashish Sharma <sdevashish novell com>
+
+	* copy-tool.c: Fix for Bug #313430
+
 2005-05-11  Not Zed  <NotZed Ximian com>
 
 	* Makefile.am: added built_sources/cleanfiles.
Index: plugins/copy-tool/copy-tool.c
===================================================================
RCS file: /cvs/gnome/evolution/plugins/copy-tool/copy-tool.c,v
retrieving revision 1.1
diff -u -p -r1.1 copy-tool.c
--- plugins/copy-tool/copy-tool.c	21 Oct 2004 08:39:32 -0000	1.1
+++ plugins/copy-tool/copy-tool.c	19 Aug 2005 09:29:07 -0000
@@ -33,6 +33,7 @@ void
 org_gnome_copy_tool_copy_address(void *ep, EMPopupTargetURI *t)
 {
 	g_free(address_uri);
+	address_uri = NULL;
 	address_uri = g_strdup(t->uri);
 
 	printf("copying address '%s'\n", address_uri);
@@ -74,8 +75,6 @@ ct_selection_clear_event(GtkWidget *widg
 {
 	printf("selection clear event\n");
 
-	g_free(address_uri);
-	address_uri = NULL;
 }
 
 int e_plugin_lib_enable(EPluginLib *ep, int enable);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]