diff options
Diffstat (limited to 'crypto/txt_db/txt_db.c')
-rw-r--r-- | crypto/txt_db/txt_db.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/txt_db/txt_db.c b/crypto/txt_db/txt_db.c index a08f346af6..a00560dcbd 100644 --- a/crypto/txt_db/txt_db.c +++ b/crypto/txt_db/txt_db.c @@ -284,6 +284,8 @@ void TXT_DB_free(TXT_DB *db) int i, n; char **p, *max; + if (db == NULL) + return; if (db->index != NULL) { for (i = db->num_fields - 1; i >= 0; i--) lh_OPENSSL_STRING_free(db->index[i]); |