1
0
Эх сурвалжийг харах

Bug 691422 - csnplFree - fix coverity control flow issues

https://bugzilla.redhat.com/show_bug.cgi?id=691422
Resolves: bug 691422
Bug Description: csnplFree - fix coverity control flow issues
Reviewed by: nkinder (Thanks!)
Branch: master
Fix Description: remove spurious semicolon
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: no
Rich Megginson 14 жил өмнө
parent
commit
1f23a16771

+ 1 - 1
ldap/servers/plugins/replication/csnpl.c

@@ -122,7 +122,7 @@ void csnplFree (CSNPL **csnpl)
 	/* free all remaining nodes */
 	llistDestroy (&((*csnpl)->csnList), (FNFree)csnpldata_free);
 
-	if ((*csnpl)->csnLock);
+	if ((*csnpl)->csnLock)
 		PR_DestroyRWLock ((*csnpl)->csnLock);
 
 	slapi_ch_free ((void**)csnpl);