diff options
author | Nick Kralevich <nnk@google.com> | 2011-07-29 16:51:35 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-07-29 16:51:35 -0700 |
commit | 514b40bafada989c63f8a3d42a517c6c53e04b02 (patch) | |
tree | 24e393210f188b815f5d118e36e38197bad51d76 /adb | |
parent | 363725a45d70537195af87ed16f905e38cd6ee79 (diff) | |
parent | 189de0c1f4339abd7b938b4905775163d2a94bbe (diff) | |
download | system_core-514b40bafada989c63f8a3d42a517c6c53e04b02.zip system_core-514b40bafada989c63f8a3d42a517c6c53e04b02.tar.gz system_core-514b40bafada989c63f8a3d42a517c6c53e04b02.tar.bz2 |
am 189de0c1: am adabe566: am 810cf41b: Merge "Fixed memory leak when using transport:serial."
* commit '189de0c1f4339abd7b938b4905775163d2a94bbe':
Fixed memory leak when using transport:serial.
Diffstat (limited to 'adb')
-rw-r--r-- | adb/adb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1110,7 +1110,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); |