DORMANTno replies

[PATCH] Fix small memleak in hciemu

From: Szymon Janc <hidden>
Date: 2011-03-04 18:32:36
Subsystem: the rest · Maintainer: Linus Torvalds

---
 test/hciemu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/hciemu.c b/test/hciemu.c
index 5227766..9eed9d9 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;
 	}
 
-- 
1.7.0.4
on behalf of ST-Ericsson
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help