Browse code

Remove invalid assertion

git-svn: trunk@2104

Nigel Horne authored on 2006/07/20 06:51:38
Showing 2 changed files
... ...
@@ -1,3 +1,8 @@
1
+Wed Jul 19 22:50:11 BST 2006 (njh)
2
+----------------------------------
3
+  * libclamav/table.c:	Removed code sanity check that is now invalid since
4
+				a table can now contain deleted nodes
5
+
1 6
 Wed Jul 19 13:55:10 BST 2006 (njh)
2 7
 ----------------------------------
3 8
   * libclamav/table.c, clamav-milter:	General tidy
... ...
@@ -5,7 +10,7 @@ Wed Jul 19 13:55:10 BST 2006 (njh)
5 5
 Wed Jul 19 10:42:32 BST 2006 (njh)
6 6
 ----------------------------------
7 7
   * clamav-milter:	Use LogClean from clamd.conf, removed --dont-log-clean
8
-  			Started to use logg() functions from output.o
8
+			Started to use logg() functions from output.o
9 9
 			Improved load balancing
10 10
 
11 11
 Tue Jul 18 17:54:42 CEST 2006 (tk)
... ...
@@ -55,8 +55,6 @@ tableDestroy(table_t *table)
55 55
 	while(tableItem) {
56 56
 		tableEntry *tableNext = tableItem->next;
57 57
 
58
-		assert(tableItem->key != NULL);
59
-
60 58
 		if(tableItem->key)
61 59
 			free(tableItem->key);
62 60
 		free(tableItem);