diff options
Diffstat (limited to 'src/win32/dir.c')
| -rw-r--r-- | src/win32/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/dir.c b/src/win32/dir.c index 95ae5060e..8c51d8378 100644 --- a/src/win32/dir.c +++ b/src/win32/dir.c @@ -32,7 +32,7 @@ git__DIR *git__opendir(const char *dir) if (!dir || !init_filter(filter, sizeof(filter), dir)) return NULL; - new = git__malloc(sizeof(*new)); + new = git__calloc(1, sizeof(*new)); if (!new) return NULL; |
