diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-10-29 01:51:13 +0400 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-10-29 06:02:36 +0400 |
commit | 3286c408eccb18c525ca123383f3ebf5097441bc (patch) | |
tree | 4422fe16ab4f7b9cf713e0209cbb74fb4115889e /src/signature.c | |
parent | da37654d04617b4dacce6e7a4796007d2854624d (diff) |
global: Properly use `git__` memory wrappers
Ensure that all memory related functions (malloc, calloc, strdup, free,
etc) are using their respective `git__` wrappers.
Diffstat (limited to 'src/signature.c')
-rw-r--r-- | src/signature.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/signature.c b/src/signature.c index 388e8d9c9..832d6439c 100644 --- a/src/signature.c +++ b/src/signature.c @@ -15,9 +15,9 @@ void git_signature_free(git_signature *sig) if (sig == NULL) return; - free(sig->name); - free(sig->email); - free(sig); + git__free(sig->name); + git__free(sig->email); + git__free(sig); } static const char *skip_leading_spaces(const char *buffer, const char *buffer_end) |