/*
* Flashlight applet (widget) for Maemo.
- * Copyright (C) 2009 Roman Moravcik
+ * Copyright (C) 2009, 2010 Roman Moravcik
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
if (priv->hal) {
libhal_device_remove_property_watch (priv->hal, CAM_COVER_UDI, NULL);
libhal_ctx_set_user_data (priv->hal, NULL);
+ libhal_ctx_shutdown (priv->hal, NULL);
libhal_ctx_free (priv->hal);
}