lib.c: Use the size of the element when allocating an array.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 13 May 2021 15:27:12 +0000 (16:27 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 13 May 2021 15:27:12 +0000 (16:27 +0100)
commitf50ecbe185f8866970ab62157b2e45bf613907d2
treebf9e962c00f6c779c804365628eac8c1a0bb7960
parentacbcd7d7005baa17b888bd27df570171c3e2a51b
lib.c: Use the size of the element when allocating an array.

Oops: a pure blunder.  Fortunately, these are actually the same size on
most current platforms, but that's not a good excuse.

Spotted by Coverity.
lib.c