aboutsummaryrefslogtreecommitdiffstats
path: root/engines/e_cswift.c
diff options
context:
space:
mode:
Diffstat (limited to 'engines/e_cswift.c')
-rw-r--r--engines/e_cswift.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/e_cswift.c b/engines/e_cswift.c
index 0b4bfc503e..5dcee7cdc7 100644
--- a/engines/e_cswift.c
+++ b/engines/e_cswift.c
@@ -431,10 +431,8 @@ static int cswift_init(ENGINE *e)
/* Everything's fine. */
return 1;
err:
- if (cswift_dso) {
- DSO_free(cswift_dso);
- cswift_dso = NULL;
- }
+ DSO_free(cswift_dso);
+ cswift_dso = NULL;
p_CSwift_AcquireAccContext = NULL;
p_CSwift_AttachKeyParam = NULL;
p_CSwift_SimpleRequest = NULL;