summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2011-03-04 19:32:36 +0100
committerJohan Hedberg <johan.hedberg@nokia.com>2011-03-04 15:56:41 -0300
commit0989e74c5655f2938e06769c4a0e4c86cce1ff5d (patch)
tree15aef4c747b3c043f4a46d2849700397d84ed318 /test
parentd3dfbc987664fda75d7272cfe52ce457b02f6511 (diff)
Fix small memleak in hciemu
Diffstat (limited to 'test')
-rw-r--r--test/hciemu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hciemu.c b/test/hciemu.c
index 52277665..9eed9d92 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;
}