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-test.c | |
parent | f3695d5fc4559135a5c97ffbcb38961fbc1bb0d1 (diff) |
More changes do use glib memory allocation
Diffstat (limited to 'hcid/dbus-test.c')
-rw-r--r-- | hcid/dbus-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hcid/dbus-test.c b/hcid/dbus-test.c index 31b1392e..3d064c7f 100644 --- a/hcid/dbus-test.c +++ b/hcid/dbus-test.c @@ -107,9 +107,9 @@ static struct audit *audit_new(DBusConnection *conn, DBusMessage *msg, static void audit_free(struct audit *audit) { - free(audit->requestor); + g_free(audit->requestor); dbus_connection_unref(audit->conn); - free(audit); + g_free(audit); } static void send_audit_status(struct audit *audit, const char *name) |