Explorar o código

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 %!s(int64=14) %!d(string=hai) anos
pai
achega
1f23a16771
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ldap/servers/plugins/replication/csnpl.c

+ 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);