소스 검색

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 년 전
부모
커밋
1f23a16771
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);