diff options
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; } |