commit | b3702104e85a8f8ec99e4e724f70516218e19ee9 | [log] [tgz] |
---|---|---|
author | BALATON Zoltan <balaton@eik.bme.hu> | Wed Oct 22 23:01:05 2014 +0200 |
committer | Martin Szulecki <m.szulecki@libimobiledevice.org> | Sun Oct 26 14:26:38 2014 +0100 |
tree | c4821663e2f10c346545f1f8d53f60d2ae5f548a | |
parent | 8dc5f5ad7f04a2c2d1d31852f24f9e5bac4a9a53 [diff] |
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.