Minor cleanups (memory, D-Bus, signals)
authorFaheem Pervez <trippin1@gmail.com>
Thu, 28 Jan 2010 10:03:03 +0000 (11:03 +0100)
committerThomas Perl <thp@thpinfo.com>
Thu, 28 Jan 2010 10:03:03 +0000 (11:03 +0100)
commitb8a57ae04c2214926e8ef1038b265c8f1146aa83
tree39522b65065fd7f0e5b0f09a009902a4c07b3e97
parent4ed4e1f191c8a221234339eca73529ebc254046a
Minor cleanups (memory, D-Bus, signals)

* Memory allocated is freed when headphoned is exited
* Instead of creating a new DBusConnection using dbus_bus_get (), the
  one provided by the osso_context_t is used
* g_new0 automatically aborts the program if it cannot allocate the
  memory
src/headphoned.c