diff options
author | Hans Jerry Illikainen <hji@dyntopia.com> | 2019-11-21 23:43:35 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-23 09:09:32 +0900 |
commit | 392b862e9aea69acf43532527e27644c97e3ea56 (patch) | |
tree | 1a76d1e2b6aa65b1e3f35f60b21a5dc7860c7ea2 /Documentation/config/submodule.txt | |
parent | Git 2.22.1 (diff) | |
download | tgif-392b862e9aea69acf43532527e27644c97e3ea56.tar.xz |
gpg-interface: refactor the free-and-xmemdupz pattern
Introduce a static replace_cstring() function to simplify repeated
pattern of free-and-xmemdupz() for GPG status line parsing.
This also helps us avoid potential memleaks if parsing of new status
lines are introduced in the future.
Signed-off-by: Hans Jerry Illikainen <hji@dyntopia.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config/submodule.txt')
0 files changed, 0 insertions, 0 deletions