Late evening hacking considered harmful...

This commit is contained in:
Panu Matilainen 2013-02-20 09:06:48 +02:00
parent 5b75e88858
commit 6f76f4fa78
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ rpmPubkey rpmPubkeyFree(rpmPubkey key)
if (--key->nrefs == 0) {
pgpDigParamsFree(key->pgpkey);
free(key->pkt);
pthread_rwlock_unlock(&keyring->lock);
pthread_rwlock_unlock(&key->lock);
pthread_rwlock_destroy(&key->lock);
free(key);
} else {