diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2019-02-01 12:57:00 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2019-02-01 12:57:00 -0500 |
commit | 3a52c0e1f55d5dd03a00740c191569b9309c0ad6 (patch) | |
tree | 65785e4e2e4ff1a0a5ed4ec2f46895d559333616 /dstring.c | |
parent | 23b55d03ddf69b5ab40dc338c419089e8c64930b (diff) | |
parent | 36330d7aab63ef2c202efb0d551f104ed6cefa17 (diff) | |
download | bfs-3a52c0e1f55d5dd03a00740c191569b9309c0ad6.tar.xz |
Merge branch 'improvements'
Diffstat (limited to 'dstring.c')
-rw-r--r-- | dstring.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -43,6 +43,7 @@ char *dstralloc(size_t capacity) { header->capacity = capacity; header->length = 0; + header->data[0] = '\0'; return header->data; } |