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>
Mon, 25 Nov 2019 17:31:23 +0000 (17:31 +0000)
commit2c1af1f5e8f64ee4f4a5092263dacb60544dd88e
treeefc14403d3bf6b6a4805fc97c64651ca6d6eedb0
parentb17bbe3b35b75635dbce8e1ffe766f9cd8fb4ecf
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