summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-30 19:20:29 -0300
committerLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-30 19:20:29 -0300
commit39b8891dadd061429d6e768551680e7814f8a663 (patch)
tree515156a59038732815ec4814ff626500cc62ae35 /network
parent0e4204e8948d1a74149506d489d51cf4c10cb85f (diff)
Make use of peer_free instead of g_free.
Diffstat (limited to 'network')
-rw-r--r--network/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/connection.c b/network/connection.c
index a25beb28..4bcc5b13 100644
--- a/network/connection.c
+++ b/network/connection.c
@@ -497,7 +497,7 @@ static struct network_peer *create_peer(const char *path, bdaddr_t *src,
peer, path_unregister) == FALSE) {
error("D-Bus failed to register %s interface",
NETWORK_PEER_INTERFACE);
- g_free(peer);
+ peer_free(peer);
return NULL;
}