summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2013-03-06 01:43:48 +0100
committerCarlos Martín Nieto <[email protected]>2013-03-06 01:47:53 +0100
commitd43561fbf711896f5ce33f409c6000946416a82b (patch)
treed4494ed38a76fa9c69f4fc00513340ff0096f980 /script
parent2885e3fe0cc403514d0ade13bae5f430b2e9252e (diff)
Free Git objects via finalizers or manually
Provide a manual way of freeing objects, but set finalizers for them in case the user does not want to worry about memory management, which would be useful for commits or trees, which sare typically small. When the objects are freed manually, the finalizer is unset to avoid double-freeing, mimicking what the go runtime does.
Diffstat (limited to 'script')
0 files changed, 0 insertions, 0 deletions