If initialisation fails for any reason, the global function pointers

should be NULL'd out.
This commit is contained in:
Geoff Thorpe
2000-06-14 13:24:37 +00:00
parent 87f3435f78
commit f812743544

View File

@@ -289,6 +289,10 @@ static int cswift_init()
err:
if(cswift_dso)
DSO_free(cswift_dso);
p_CSwift_AcquireAccContext = NULL;
p_CSwift_AttachKeyParam = NULL;
p_CSwift_SimpleRequest = NULL;
p_CSwift_ReleaseAccContext = NULL;
return 0;
}