[evolution-rss/evolution-rss-0-2-0] Bug 639942 - Segfault when importing new feed



commit 008f7f328ada6813e2e6a642bf3a4f4f043e40b2
Author: Lucian Langa <lucilanga gnome org>
Date:   Wed Jan 19 19:23:48 2011 +0200

    Bug 639942 - Segfault when importing new feed

 src/dbus.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/dbus.c b/src/dbus.c
index c51675c..4387f7c 100644
--- a/src/dbus.c
+++ b/src/dbus.c
@@ -114,7 +114,7 @@ filter_function (DBusConnection *connection, DBusMessage *message, void *user_da
 				g_free(text);
 				d("sanitized feed URL: %s\n", feed->feed_url);
 				if (g_hash_table_find(rf->hr,
-                                        check_if_match,
+					check_if_match,
 					feed->feed_url)) {
 					rss_error(NULL, NULL, _("Error adding feed."),
 						_("Feed already exists!"));
@@ -141,7 +141,6 @@ filter_function (DBusConnection *connection, DBusMessage *message, void *user_da
 			g_print("Feed received, but error getting message: %s\n", error.message);
 			dbus_error_free (&error);
 		}
-		g_free(feed);
 		return DBUS_HANDLER_RESULT_HANDLED;
 	}
 	else if (dbus_message_is_signal (message, DBUS_INTERFACE, "ping")) {



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