aboutsummaryrefslogtreecommitdiffstats
path: root/shared.c
diff options
context:
space:
mode:
authorGravatar Lukas Fleischer <cgit@cryptocrack.de>2013-04-02 00:11:15 (JST)
committerGravatar Jason A. Donenfeld <Jason@zx2c4.com>2013-04-08 22:43:17 (JST)
commita92678b5f119811bccaca9c31b779c5ceed95572 (patch)
treea990fc6e9b1248f9546b6865a2e81dacd1263254 /shared.c
parent3a8432437934a0a95f2618b534b1f5b3494d6b18 (diff)
downloadcgit-a92678b5f119811bccaca9c31b779c5ceed95572.zip
cgit-a92678b5f119811bccaca9c31b779c5ceed95572.tar.gz
Do not unnecessarily strdup() environment variables
This reverts the memory duplication introduced in commit 60a2627, while keeping everything else that has been cleaned up. The environment variables are never modified, so we do not need to call xstrdupn() here. Also, remove xstrdupn() which is no longer needed. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'shared.c')
0 files changed, 0 insertions, 0 deletions