Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/attr.c
diff options
context:
space:
mode:
authorbrian m. carlson <bk2204@github.com>2023-06-27 19:18:59 +0300
committerJunio C Hamano <gitster@pobox.com>2023-06-27 21:31:06 +0300
commitcdd489eaf9cd3c46c30b485601e2bcb989586274 (patch)
treede83eb71fffaf29491ab439c39d0871e0873850d /attr.c
parentf74c90dcf7ed8ef7994ab583de089dba2a2b1a22 (diff)
var: adjust memory allocation for strings
Right now, all of our values are constants whose allocation is managed elsewhere. However, in the future, we'll have some variables whose memory we will need to free. To keep things consistent, let's make each of our functions allocate its own memory and make the caller responsible for freeing it. Signed-off-by: brian m. carlson <bk2204@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'attr.c')
0 files changed, 0 insertions, 0 deletions