From 0989e74c5655f2938e06769c4a0e4c86cce1ff5d Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Fri, 4 Mar 2011 19:32:36 +0100 Subject: [PATCH] Fix small memleak in hciemu --- test/hciemu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/hciemu.c b/test/hciemu.c index 522776654..9eed9d92c 100644 --- a/test/hciemu.c +++ b/test/hciemu.c @@ -1023,7 +1023,7 @@ static int getbdaddrbyname(char *str, bdaddr_t *ba) if (n == 5) { /* BD address */ - baswap(ba, strtoba(str)); + str2ba(str, ba); return 0; } -- 2.47.3