summaryrefslogtreecommitdiff
path: root/attrib/gattrib.c
diff options
context:
space:
mode:
authorBruna Moreira <bruna.moreira@openbossa.org>2010-07-30 14:41:21 -0400
committerJohan Hedberg <johan.hedberg@nokia.com>2010-08-09 18:06:48 -0400
commit765a807fdced0e770cfccfc32f60df44c11ad07e (patch)
tree1bc194b89f439af6151f0051f5b4baf64ef8838a /attrib/gattrib.c
parent253ccc6d4abbd6ea438dfdedf15e1a122329a2d3 (diff)
downloadbluez-765a807fdced0e770cfccfc32f60df44c11ad07e.tar.gz
Fix memory leaks in gatttool
Diffstat (limited to 'attrib/gattrib.c')
-rw-r--r--attrib/gattrib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/attrib/gattrib.c b/attrib/gattrib.c
index 5c2bef557..e983efee3 100644
--- a/attrib/gattrib.c
+++ b/attrib/gattrib.c
@@ -102,6 +102,7 @@ void g_attrib_unref(GAttrib *attrib)
return;
g_source_remove(attrib->id);
+ g_io_channel_unref(attrib->io);
g_free(attrib);
}