Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6675b652 authored by Chris Manton's avatar Chris Manton
Browse files

Fix likely-unhit memory leak

Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working
Test: acts -tc BleCocTest
Change-Id: I0cbaf43e04b42468c8588d0dd8b13001ee10229d
parent 41bc6634
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -185,6 +185,7 @@ uint16_t GAP_ConnOpen(const char* p_serv_name, uint8_t service_id,
    p_ccb->rem_dev_address = *p_rem_bda;
  } else if (!is_server) {
    /* remore addr is not specified and is not a server -> bad */
    gap_release_ccb(p_ccb);
    return (GAP_INVALID_HANDLE);
  }