summaryrefslogtreecommitdiff
path: root/libhal
diff options
context:
space:
mode:
authorDavid Zeuthen <david@fubar.dk>2004-09-27 16:37:47 +0000
committerDavid Zeuthen <david@fubar.dk>2004-09-27 16:37:47 +0000
commitd5d01460ca9412f52ec8c88518f3864cde9d1a25 (patch)
treedd91cd8e40ff19318efab40eb77fa67ab8ec0457 /libhal
parent7253f16769a46b54d200343c254cd3c094101bef (diff)
Remember to init error var
Add a whitelist so if a volume stems from a msdos style partition table we require that type to be in the whitelist; initially includes various FAT formats, NTFS and Linux. (volume_new): Fix a bug in size computation Add prototype for hal_volume_get_msdos_part_table_type New function Rename x86_type to msdos_part_table_type Fixup URL
Diffstat (limited to 'libhal')
-rw-r--r--libhal/libhal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhal/libhal.c b/libhal/libhal.c
index f95e5caa..52f4944d 100644
--- a/libhal/libhal.c
+++ b/libhal/libhal.c
@@ -692,6 +692,7 @@ hal_shutdown (LibHalContext *ctx)
/* unsubscribe the match rule we added in initialize; this is safe even with multiple
* instances of libhal running - see the dbus docs */
+ dbus_error_init (&error);
dbus_bus_remove_match (ctx->connection,
"type='signal',"
"interface='org.freedesktop.Hal.Manager',"