diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-02-26 13:44:45 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-02-26 13:44:45 +0000 |
commit | 3d16152fd30f2570ad8e9bb2427045e6fd317ce3 (patch) | |
tree | 6d92771a88707cc2b5693bf0de5195d077a0bba0 /hcid/dbus-manager.c | |
parent | f3695d5fc4559135a5c97ffbcb38961fbc1bb0d1 (diff) |
More changes do use glib memory allocation
Diffstat (limited to 'hcid/dbus-manager.c')
-rw-r--r-- | hcid/dbus-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-manager.c b/hcid/dbus-manager.c index d061e85a..a24db32f 100644 --- a/hcid/dbus-manager.c +++ b/hcid/dbus-manager.c @@ -151,7 +151,7 @@ static DBusHandlerResult list_adapters(DBusConnection *conn, if (ioctl(sk, HCIGETDEVLIST, dl) < 0) { int err = errno; close(sk); - free(dl); + g_free(dl); return error_failed(conn, msg, err); } |