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

Commit 810cf41b authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Code Review
Browse files

Merge "Fixed memory leak when using transport:serial."

parents d1015de9 3175c8e9
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);