dbus/dbus dbus-sysdeps-util.c,1.6,1.7
John Palmieri
johnp at kemper.freedesktop.org
Tue Aug 8 16:29:05 PDT 2006
- Previous message: dbus ChangeLog,1.1069,1.1070
- Next message: dbus/bus activation.c, 1.42, 1.43 bus.c, 1.67, 1.68 config-parser.c,
1.42, 1.43 desktop-file.c, 1.11, 1.12 expirelist.c, 1.6,
1.7 selinux.c, 1.18, 1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/dbus/dbus/dbus
In directory kemper:/tmp/cvs-serv8689/dbus
Modified Files:
dbus-sysdeps-util.c
Log Message:
These are all patches from Kjartan Maraas <kmaraas at gnome dot org>
with cleanups of bugs found from Coverity reports:
* dbus/dbus-sysdeps-util.c (_dbus_write_pid_file):
close the file on error to avoid a leak
* bus/expirelist.c (bus_expire_list_test):
Check for NULL on dbus_new0
* bus/activation.c (update_directory):
remove dead code
* bus/config-parser.c (merge_service_context_hash, start_selinux_child):
Fix some leaks
* bus/bus.c (process_config_every_time):
Fixed a leak
* bus/desktop-file.c (parse_key_value):
Fixed leak
* bus/selinux.c (bus_selinux_id_table_insert):
Fixed leak
Index: dbus-sysdeps-util.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-sysdeps-util.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- dbus-sysdeps-util.c 24 Feb 2006 16:13:08 -0000 1.6
+++ dbus-sysdeps-util.c 8 Aug 2006 23:29:03 -0000 1.7
@@ -219,6 +219,8 @@
dbus_set_error (error, _dbus_error_from_errno (errno),
"Failed to write to \"%s\": %s", cfilename,
_dbus_strerror (errno));
+
+ fclose (f);
return FALSE;
}
- Previous message: dbus ChangeLog,1.1069,1.1070
- Next message: dbus/bus activation.c, 1.42, 1.43 bus.c, 1.67, 1.68 config-parser.c,
1.42, 1.43 desktop-file.c, 1.11, 1.12 expirelist.c, 1.6,
1.7 selinux.c, 1.18, 1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dbus-commit
mailing list