INN commit: trunk/storage/tradindexed (tdx-group.c)
INN Commit
Russ_Allbery at isc.org
Sun Dec 14 04:58:29 UTC 2008
Date: Saturday, December 13, 2008 @ 20:58:29
Author: eagle
Revision: 8223
In the tradindexed audit code, make sure that we don't try to free a NULL
vector. Found by Saturn back in 2007.
Modified:
trunk/storage/tradindexed/tdx-group.c
-------------+
tdx-group.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Modified: tdx-group.c
===================================================================
--- tdx-group.c 2008-12-14 04:53:05 UTC (rev 8222)
+++ tdx-group.c 2008-12-14 04:58:29 UTC (rev 8223)
@@ -1070,7 +1070,8 @@
hash_insert(hash, &group->hash, group);
line = QIOread(active);
}
- cvector_free(data);
+ if (data != NULL)
+ cvector_free(data);
QIOclose(active);
return hash;
}
More information about the inn-committers
mailing list