Updated copyright years.
[flashlight-appl] / src / flashlight_applet.c
index 944c40c..641e8dd 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  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
@@ -324,6 +324,7 @@ flashlight_status_plugin_finalize (GObject *object)
        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);
        }