diff options
author | Russell Belfer <rb@github.com> | 2012-05-05 03:46:46 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-05-05 03:46:46 +0400 |
commit | 282283acc65bab9de231a2b3dc489eb171d5f1cf (patch) | |
tree | 402e4a5699e5d2182b542e0eb2468f564951094f /src/odb.h | |
parent | 3ec1fa5e1c0ee0e151a44267fa6496ecdf604eb9 (diff) |
Fix valgrind issues
There are three changes here:
- correctly propogate error code from failed object lookups
- make zlib inflate use our allocators
- add OID to notfound error in ODB lookups
Diffstat (limited to 'src/odb.h')
-rw-r--r-- | src/odb.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -70,7 +70,7 @@ int git_odb__hashlink(git_oid *out, const char *path); /* * Generate a GIT_ENOTFOUND error for the ODB. */ -int git_odb__error_notfound(const char *message); +int git_odb__error_notfound(const char *message, const git_oid *oid); /* * Generate a GIT_EAMBIGUOUS error for the ODB. |