author | Nicolas Pitre <nico@cam.org> | |
Wed, 17 Oct 2007 01:55:50 +0000 (21:55 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 17 Oct 2007 06:54:57 +0000 (02:54 -0400) | ||
commit | c85228ed8f31eb739e19cf8abcff84fad44c1258 | |
tree | 65c2db65836dc63cf047e2dcd192cd7daf93b0f7 | tree | snapshot |
parent | 4049b9cfc082affc6365539138f6f5c546bb5685 | commit | diff |
fix for more minor memory leaks
Now that some pointers have lost their const attribute, we can free their
associated memory when done with them. This is more a correctness issue
about the rule for freeing those pointers which isn't completely trivial
more than the leak itself which didn't matter as the program is
exiting anyway.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Now that some pointers have lost their const attribute, we can free their
associated memory when done with them. This is more a correctness issue
about the rule for freeing those pointers which isn't completely trivial
more than the leak itself which didn't matter as the program is
exiting anyway.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
index-pack.c | diff | blob | history |