summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRussell Belfer <arrbee@arrbee.com>2012-02-29 14:19:39 -0800
committerRussell Belfer <arrbee@arrbee.com>2012-03-02 15:51:55 -0800
commitc19bc93cef62cf4a638ab42ba9562885b07a68ce (patch)
tree9842dbf73bc86bc1e000bf1e448b7dd2174ae970 /src
parentda9abdd6a7c05d29b68bb38c6798cd8975a7d26a (diff)
downloadlibgit2-c19bc93cef62cf4a638ab42ba9562885b07a68ce.tar.gz
Fixing memory leaks indicated by valgrind
This clears up the memory leaks that valgrind seems to find on my machine.
Diffstat (limited to 'src')
-rw-r--r--src/path.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/path.c b/src/path.c
index ceae2abcf..d2c292bf2 100644
--- a/src/path.c
+++ b/src/path.c
@@ -624,5 +624,7 @@ int git_path_dirload_with_stat(
}
}
+ git_buf_free(&full);
+
return error;
}