From: Mark Wooding Date: Sun, 24 Nov 2019 22:16:53 +0000 (+0000) Subject: ec.c: Free partially constructed points coordinatewise. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/commitdiff_plain/08720fe03bb49ed4df3b0fbd99c2c8eec145fdcc?hp=08720fe03bb49ed4df3b0fbd99c2c8eec145fdcc 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. ---