Skip to content
Snippets Groups Projects
Commit 210c4b20 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

crypto: fix memory leak in RevocationList::getPacked()

parent e8cb635b
Branches
Tags
No related merge requests found
......@@ -988,6 +988,7 @@ RevocationList::pack(Blob& b) const
throw CryptoException(std::string("Can't export CRL: ") + gnutls_strerror(err));
}
b.insert(b.end(), gdat.data, gdat.data + gdat.size);
gnutls_free(gdat.data);
}
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment