summaryrefslogtreecommitdiff
path: root/src/mwindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mwindow.c')
-rw-r--r--src/mwindow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mwindow.c b/src/mwindow.c
index e53477e98..126268fd9 100644
--- a/src/mwindow.c
+++ b/src/mwindow.c
@@ -69,7 +69,7 @@ void git_mwindow_free_all(git_mwindow_file *mwf)
git_futils_mmap_free(&w->window_map);
mwf->windows = w->next;
- free(w);
+ git__free(w);
}
}
@@ -139,7 +139,7 @@ static int git_mwindow_close_lru(git_mwindow_file *mwf)
else
*list = lru_w->next;
- free(lru_w);
+ git__free(lru_w);
ctl.open_windows--;
return GIT_SUCCESS;
@@ -191,7 +191,7 @@ static git_mwindow *new_window(git_mwindow_file *mwf, git_file fd, git_off_t siz
return w;
cleanup:
- free(w);
+ git__free(w);
return NULL;
}