--- attrib/gattrib.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/attrib/gattrib.c b/attrib/gattrib.c index 4ed29d9..eace01b 100644 --- a/attrib/gattrib.c +++ b/attrib/gattrib.c @@ -177,6 +177,7 @@ void g_attrib_unref(GAttrib *attrib) while ((c = g_queue_pop_head(attrib->queue))) command_destroy(c); + g_queue_free(attrib->queue); attrib->queue = NULL; for (l = attrib->events; l; l = l->next) -- 1.7.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html