diff options
author | Daniel Lange <DLange@git.local> | 2022-02-04 11:23:04 +0100 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2022-02-04 11:23:04 +0100 |
commit | 93c96b12c9cb349b762d38d69568d65cd3e4fbfd (patch) | |
tree | 9cb12bb8f6c16c23cbb19df65c2334449693187d /Header.c | |
parent | ebf0c067a1fdd4b4779b9557552c2278755dcab4 (diff) | |
parent | a6822e98434cf7da6fab033898094976d881ee0f (diff) | |
download | debian_htop-93c96b12c9cb349b762d38d69568d65cd3e4fbfd.tar.gz debian_htop-93c96b12c9cb349b762d38d69568d65cd3e4fbfd.tar.bz2 debian_htop-93c96b12c9cb349b762d38d69568d65cd3e4fbfd.zip |
Update upstream source from tag 'upstream/3.1.2'
Update to upstream version '3.1.2'
with Debian dir 5ce130e9471b77941bbd217b5ea8b7b3419a91c6
Diffstat (limited to 'Header.c')
-rw-r--r-- | Header.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -145,7 +145,7 @@ void Header_writeBackToSettings(const Header* this) { const Vector* vec = this->columns[col]; int len = Vector_size(vec); - colSettings->names = len ? xCalloc(len, sizeof(char*)) : NULL; + colSettings->names = len ? xCalloc(len + 1, sizeof(char*)) : NULL; colSettings->modes = len ? xCalloc(len, sizeof(int)) : NULL; colSettings->len = len; |