summaryrefslogtreecommitdiff
path: root/src/bluetooth-adapter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth-adapter.c')
-rwxr-xr-xsrc/bluetooth-adapter.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/bluetooth-adapter.c b/src/bluetooth-adapter.c
index 8824c2d..1c5ff8c 100755
--- a/src/bluetooth-adapter.c
+++ b/src/bluetooth-adapter.c
@@ -1422,10 +1422,7 @@ static int __bt_convert_string_to_uuid(const char *string, char **uuid, int *bit
ret = sscanf(string, "%08x-%04hx-%04hx-%04hx-%08x%04hx",
&val0, &val1, &val2, &val3, &val4, &val5);
if (ret != 6)
- {
- g_free(data);
return BT_ERROR_OPERATION_FAILED;
- }
val0 = htonl(val0);
val1 = htons(val1);