nautilus-sendto r434 - in trunk: . pidgin_plugin



Author: hadess
Date: Thu Apr  9 15:26:16 2009
New Revision: 434
URL: http://svn.gnome.org/viewvc/nautilus-sendto?rev=434&view=rev

Log:
2009-04-09  Bastien Nocera  <hadess hadess net>

	* pidgin_plugin/nautilus-sendto-plugin.c (save_online_buddies):
	Don't crash when writing the buddies list fails (eg. full filesystem),
	spotted by Stu Tomlinson <stu nosnilmot com>
	See: https://bugzilla.redhat.com/show_bug.cgi?id=491458



Modified:
   trunk/ChangeLog
   trunk/pidgin_plugin/nautilus-sendto-plugin.c

Modified: trunk/pidgin_plugin/nautilus-sendto-plugin.c
==============================================================================
--- trunk/pidgin_plugin/nautilus-sendto-plugin.c	(original)
+++ trunk/pidgin_plugin/nautilus-sendto-plugin.c	Thu Apr  9 15:26:16 2009
@@ -122,7 +122,7 @@
 		if (g_file_set_contents (fd_name, str->str, str->len, &err) == FALSE) {
 			purple_debug_info ("nautilus", "couldn't save '%s': %s\n", fd_name, err->message);
 			g_error_free (err);
-			g_string_free (buddies_str, TRUE);
+			g_string_free (str, TRUE);
 		} else {
 			purple_debug_info ("nautilus", "saved blist online\n");
 			g_string_free (buddies_str, TRUE);



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