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

Commit 189de0c1 authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Git Automerger
Browse files

am adabe566: am 810cf41b: Merge "Fixed memory leak when using transport:serial."

* commit 'adabe566':
  Fixed memory leak when using transport:serial.
parents b1cfa672 adabe566
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1108,7 +1108,7 @@ int handle_host_request(char *service, transport_type ttype, char* serial, int r
            type = kTransportAny;
        } else if (!strncmp(service, "transport:", strlen("transport:"))) {
            service += strlen("transport:");
            serial = strdup(service);
            serial = service;
        }

        transport = acquire_one_transport(CS_ANY, type, serial, &error_string);