[tracker/rss-enclosures] Steroids server: Remove extra close calls
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] Steroids server: Remove extra close calls
- Date: Sat, 26 Jun 2010 23:23:38 +0000 (UTC)
commit d2e1a9a2430b0b674d664c94a29245a400bda0c6
Author: Adrien Bustany <abustany gnome org>
Date: Mon Jun 14 09:40:01 2010 -0400
Steroids server: Remove extra close calls
This commit removes some useless close calls, that would trigger
warnings in tracker-store's log. FD are automatically closed when GIO's
UNIX streams are finalized.
src/tracker-store/tracker-steroids.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/tracker-store/tracker-steroids.c b/src/tracker-store/tracker-steroids.c
index f3134fc..95b0095 100644
--- a/src/tracker-store/tracker-steroids.c
+++ b/src/tracker-store/tracker-steroids.c
@@ -99,10 +99,6 @@ destroy_client_info (gpointer user_data)
dbus_message_unref (info->call_message);
dbus_connection_unref (info->connection);
- if (info->fd) {
- close (info->fd);
- }
-
g_slice_free (ClientInfo, user_data);
}
@@ -210,10 +206,6 @@ update_blank_callback (GPtrArray *blank_nodes, GError *error, gpointer user_data
DBusMessageIter subiter;
DBusMessageIter subsubiter;
- if (info->fd) {
- close (info->fd);
- }
-
if (error) {
tracker_dbus_request_failed (info->request_id,
NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]