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

Commit 720086d8 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix resource leak" am: 4bfb3cf4

parents 82194fa4 4bfb3cf4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -78,6 +78,7 @@ static gatt::Database bta_gattc_load_db(const char* fname) {
      LOG(ERROR) << __func__ << ": can't read GATT attributes: " << fname;
      goto done;
    }
    fclose(fd);

    bool success = false;
    gatt::Database result = gatt::Database::Deserialize(attr, &success);