don't touch after free.

This commit is contained in:
Hajimu UMEMOTO 2003-12-10 05:01:41 +00:00
parent 70005bdb38
commit 869a467690

View File

@ -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;
}
}