diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-10-15 23:09:05 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-10-15 23:25:48 +0200 |
commit | 5fa1bed0f7da8959f561c49fba6975812f80546a (patch) | |
tree | 41d27ba01eff50ee5823db298cbb8d5af7b3bd8f /src/commit.c | |
parent | a014a083d9010e7f1ad0a00e6b48b75d6616edde (diff) | |
download | libgit2-5fa1bed0f7da8959f561c49fba6975812f80546a.tar.gz |
mwindow: close LRU window properly
Remove a wrong call to git_mwindow_close which caused a segfault if it
ever did run. In that same piece of code, if the LRU was from the
first wiindow in the list in a different file, we didn't update that
list, so the first element had been freed.
Fix these two issues.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions