/* This will destroy all data allocated by this entry.  */
void qdict_del(QDict *qdict, const char *key)
/* This will destroy all data allocated by this entry.  */
void qdict_del(QDict *qdict, const char *key)
{
    QDictEntry *entry;
    entry = qdict_find(qdict, key, tdb_hash(key) % QDICT_BUCKET_MAX);
    if (entry) {
        QLIST_REMOVE(entry, next);
        qentry_destroy(entry);
        qdict->size--;
    }
}