diff options
author | brian m. carlson <bk2204@github.com> | 2023-06-27 19:18:59 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-06-27 21:31:06 +0300 |
commit | cdd489eaf9cd3c46c30b485601e2bcb989586274 (patch) | |
tree | de83eb71fffaf29491ab439c39d0871e0873850d /attr.c | |
parent | f74c90dcf7ed8ef7994ab583de089dba2a2b1a22 (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