another question, and a small patch

Vladimir Vukicevic vladimir@helixcode.com
Tue, 13 Jun 2000 11:06:22 -0400


Also, small bug in gcry_pk_genkey(); it should not gcry_sexp_release()
the three sexp's at the end, since they were just put together using
vlist just above -- and vlist doesn't copy the nodes, just uses creates
a new list containing all of them. So if they're actually release()'d,
it's not a good thing :-)

I notice there's a comment at the top takling about implementing
refcounting... is this something that's needed? It might be overkill
considering that sexp's don't seem to be used in any majorly extensive
way, but OTOH it would avoid some of the double-free bugs and the like..

	- Vlad