$NetBSD: patch-af,v 1.1 2009/07/26 18:25:01 drochner Exp $

--- libbrasero-media/burn-hal-watch.c.orig	2009-07-01 03:02:36.000000000 +0200
+++ libbrasero-media/burn-hal-watch.c
@@ -136,7 +136,7 @@ brasero_hal_watch_init (BraseroHALWatch 
 	priv->ctx = libhal_ctx_new ();
 	if (priv->ctx == NULL) {
 		g_warning ("Cannot initialize hal library\n");
-		goto error;
+		return;
 	}
 
 	dbus_error_init (&error);
@@ -161,12 +161,11 @@ brasero_hal_watch_init (BraseroHALWatch 
 	if (libhal_ctx_init (priv->ctx, &error))
 		return;
 
-	g_warning ("Failed to initialize hal : %s\n", error.message);
+	g_warning ("Failed to initialize hal : %s\n", error.message ? error.message : "(?)");
 	dbus_error_free (&error);
 
 error:
 
-	libhal_ctx_shutdown (priv->ctx, NULL);
 	libhal_ctx_free (priv->ctx);
 	priv->ctx = NULL;
 
