]> granicus.if.org Git - vim/commit
patch 8.1.1465: allocating wrong amount of memory v8.1.1465
authorBram Moolenaar <Bram@vim.org>
Tue, 4 Jun 2019 20:29:10 +0000 (22:29 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 4 Jun 2019 20:29:10 +0000 (22:29 +0200)
commita37833dbd7d3cb0fff4cbf0ba6e80d0ad55cd4b9
tree53900f38a052f789446bd6de078d84ca5e823272
parentcea254f5a793bf447d6ea2eb926cba38e73adece
patch 8.1.1465: allocating wrong amount of memory

Problem:    Allocating wrong amount of memory. (Yegappan Lakshmanan)
Solution:   Use sizeof() for right type of struct.
src/memfile_test.c
src/version.c