gnome-power-manager r1880 - in trunk: . src



Author: rhughes
Date: 2007-02-10 23:48:06 +0000 (Sat, 10 Feb 2007)
New Revision: 1880
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-power-manager?rev=1880&view=rev

Modified:
   trunk/ChangeLog
   trunk/src/gpm-ac-adapter.c
   trunk/src/gpm-battery.c
   trunk/src/gpm-button.c
Log:
2007-02-10  Richard Hughes  <richard hughsie com>

* src/gpm-battery.c: (coldplug_batteries):
Do not try to dereference error if we find no battery devices, it might
actually be okay. Rework the error handling a little to fix #406529

* src/gpm-ac-adapter.c: (gpm_ac_adapter_init):
* src/gpm-button.c: (gpm_button_init):
Fix two small memory leaks when no devices are found.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]