diff options
author | oni-link <knil.ino@gmail.com> | 2014-11-16 11:22:58 +0100 |
---|---|---|
committer | oni-link <knil.ino@gmail.com> | 2014-11-16 11:22:58 +0100 |
commit | e1757513649c016ff7d2e03f11ec8017fe290597 (patch) | |
tree | 83b2c4a59745f60f23cfa2a19d0219da920862b0 /runtime/doc/manpages/it | |
parent | 7465fc6ee9f94912db5d4d688de738dbe99f31fb (diff) | |
download | rneovim-e1757513649c016ff7d2e03f11ec8017fe290597.tar.gz rneovim-e1757513649c016ff7d2e03f11ec8017fe290597.tar.bz2 rneovim-e1757513649c016ff7d2e03f11ec8017fe290597.zip |
coverity/13765,13766,13767,13768: Fix memory leaks in hardcopy.c
The function mch_print_begin() returns early in case of an
error, but without freeing allocated memory.
To fix this, use stack allocation instead of heap allocation
for the variables res_prolog, res_encoding, res_cidfont and
res_cmap.
Diffstat (limited to 'runtime/doc/manpages/it')
0 files changed, 0 insertions, 0 deletions