浏览代码

Bug 691422 - sdt_destroy - fix coverity control flow issues

https://bugzilla.redhat.com/show_bug.cgi?id=691422
Resolves: bug 691422
Bug Description: sdt_destroy - fix coverity control flow issues
Reviewed by: nkinder (Thanks!)
Branch: master
Fix Description: remove spurious semicolons
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: no
Rich Megginson 14 年之前
父节点
当前提交
45189c533b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ldap/servers/slapd/tools/rsearch/sdattable.c

+ 2 - 2
ldap/servers/slapd/tools/rsearch/sdattable.c

@@ -96,9 +96,9 @@ void sdt_destroy(SDatTable *sdt)
 	        free(sdt->uids[i]);
 	}
     }
-    if (sdt->dns);
+    if (sdt->dns)
         free(sdt->dns);
-    if (sdt->uids);
+    if (sdt->uids)
         free(sdt->uids);
     free(sdt);
 }