diff options
author | BALATON Zoltan | 2014-10-22 23:01:05 +0200 |
---|---|---|
committer | Martin Szulecki | 2014-10-26 14:26:38 +0100 |
commit | b3702104e85a8f8ec99e4e724f70516218e19ee9 (patch) | |
tree | c4821663e2f10c346545f1f8d53f60d2ae5f548a /src/service.c | |
parent | 8dc5f5ad7f04a2c2d1d31852f24f9e5bac4a9a53 (diff) | |
download | libimobiledevice-b3702104e85a8f8ec99e4e724f70516218e19ee9.tar.gz libimobiledevice-b3702104e85a8f8ec99e4e724f70516218e19ee9.tar.bz2 |
lockdown: Fix error in re-pairing when previous record became invalid
When connecting with an existing pair record failed we attempted to
pair again which generated a new host id but then connect after
successful pairing tried to use host id from the old record and
failed. Make sure we forget the old host id when re-pairing.
This also fixes a possible memory leak.
Diffstat (limited to 'src/service.c')
0 files changed, 0 insertions, 0 deletions