Avoid freeing a NULL pointer.

This commit is contained in:
James Clark 2000-05-18 11:38:56 +00:00
parent f3464902ca
commit 86646a28cb

View file

@ -3720,7 +3720,8 @@ void hashTableDestroy(HASH_TABLE *table)
if (p)
free(p);
}
free(table->v);
if (table->v)
free(table->v);
}
static