diff options
| author | Carlos Martín Nieto <cmn@elego.de> | 2011-07-05 15:09:17 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@elego.de> | 2011-07-05 15:28:35 +0200 |
| commit | 2ee318a7bc5f7e975e31ca03d0e275fa3619633e (patch) | |
| tree | 72c68cf964f87c2446ea6bebacc99a1e23204308 /src/commit.h | |
| parent | d830919a2cdd59ad9f9d0e9b44b7a6a0e331799c (diff) | |
| download | libgit2-2ee318a7bc5f7e975e31ca03d0e275fa3619633e.tar.gz | |
Small fixes in pack_window_open
Check if the window structure has actually been allocated before
trying to access it, and don't leak said structure if the map fails.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Diffstat (limited to 'src/commit.h')
0 files changed, 0 insertions, 0 deletions
