ec.c: Free partially constructed points coordinatewise.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 24 Nov 2019 22:16:53 +0000 (22:16 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 27 Nov 2019 15:10:44 +0000 (15:10 +0000)
commit08720fe03bb49ed4df3b0fbd99c2c8eec145fdcc
tree380b0d95992d1f903915aa6b96e9acc984466162
parent4281a7ee8646165a39f03bcab908b30dee643dae
ec.c: Free partially constructed points coordinatewise.

The `EC_DESTROY' macro assumes that the other coordinates are null if
and only if `p->x' is.  This works badly with the current code
structure, which fills in coordinates as it goes along, and I think this
is a better fix than trying to maintain the coordinates in temporaries
until we're done.
ec.c