> Hello, > > After reading > http://www.openbsd.org/papers/bsdcan14-libressl/mgp00015.html , I > thought I'd help a bit with cleaning libssl by running this > Coccinelle[1] script on src/lib/libssl: > > <smpl> > @@ > identifier x; > @@ > -if (x) { free(x); } > +free(x); > </smpl> > > It removes unnecessary NULL checks that happen before a call to free(), > and could probably also be run on some other parts of the OpenBSD code.
Applied, thanks! Miod