mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-15 00:38:15 +00:00
Avoid freeing a NULL pointer.
This commit is contained in:
parent
f3464902ca
commit
86646a28cb
1 changed files with 2 additions and 1 deletions
|
@ -3720,7 +3720,8 @@ void hashTableDestroy(HASH_TABLE *table)
|
|||
if (p)
|
||||
free(p);
|
||||
}
|
||||
free(table->v);
|
||||
if (table->v)
|
||||
free(table->v);
|
||||
}
|
||||
|
||||
static
|
||||
|
|
Loading…
Add table
Reference in a new issue