summaryrefslogtreecommitdiffstats
path: root/common/thread.h
diff options
context:
space:
mode:
authorGravatar BALATON Zoltan2014-10-22 23:01:05 +0200
committerGravatar Martin Szulecki2014-10-26 14:26:38 +0100
commitb3702104e85a8f8ec99e4e724f70516218e19ee9 (patch)
treec4821663e2f10c346545f1f8d53f60d2ae5f548a /common/thread.h
parent8dc5f5ad7f04a2c2d1d31852f24f9e5bac4a9a53 (diff)
downloadlibimobiledevice-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 'common/thread.h')
0 files changed, 0 insertions, 0 deletions