mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 22:20:28 -05:00
ITS#4917 preserve old sat_ad_mutex
This commit is contained in:
parent
8033f476f4
commit
8ac19f0847
1 changed files with 3 additions and 0 deletions
|
|
@ -459,6 +459,7 @@ at_insert(
|
|||
|
||||
/* Keep old oid, free new oid;
|
||||
* Keep old ads, free new ads;
|
||||
* Keep old ad_mutex, free new ad_mutex;
|
||||
* Keep new everything else, free old
|
||||
*/
|
||||
tmp = *old_sat;
|
||||
|
|
@ -467,6 +468,8 @@ at_insert(
|
|||
tmp.sat_oid = sat->sat_oid;
|
||||
old_sat->sat_ad = tmp.sat_ad;
|
||||
tmp.sat_ad = sat->sat_ad;
|
||||
old_sat->sat_ad_mutex = tmp.sat_ad_mutex;
|
||||
tmp.sat_ad_mutex = sat->sat_ad_mutex;
|
||||
*sat = tmp;
|
||||
|
||||
/* Check for basic ad pointing at old cname */
|
||||
|
|
|
|||
Loading…
Reference in a new issue