don't touch after free.
This commit is contained in:
parent
70005bdb38
commit
869a467690
@ -2774,10 +2774,11 @@ key_delsah(sah)
|
||||
/* sanity check */
|
||||
KEY_CHKSASTATE(state, sav->state, "key_delsah");
|
||||
|
||||
key_freesav(sav);
|
||||
|
||||
/* remove back pointer */
|
||||
sav->sah = NULL;
|
||||
|
||||
key_freesav(sav);
|
||||
|
||||
sav = NULL;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user