Commit f8127435 authored by Geoff Thorpe's avatar Geoff Thorpe
Browse files

If initialisation fails for any reason, the global function pointers

should be NULL'd out.
parent 87f3435f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;
	}