--- plugins/mgmtops.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c index 5c6ff29..4424ec9 100644 --- a/plugins/mgmtops.c +++ b/plugins/mgmtops.c @@ -447,6 +447,8 @@ static void mgmt_device_connected(int sk, uint16_t index, void *buf, size_t len) btd_event_conn_complete(&info->bdaddr, &ev->addr.bdaddr, mgmt_addr_type(ev->addr.type), eir_data.name, eir_data.dev_class); + + eir_data_free(&eir_data); } static void mgmt_device_disconnected(int sk, uint16_t index, void *buf, -- 1.7.5.4 -- 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