From 3d16152fd30f2570ad8e9bb2427045e6fd317ce3 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 26 Feb 2007 13:44:45 +0000 Subject: More changes do use glib memory allocation --- hcid/dbus-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hcid/dbus-test.c') 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) -- cgit