]> gitweb.ps.run Git - ps-cgit/commitdiff
Do not unnecessarily strdup() environment variables
authorLukas Fleischer <cgit@cryptocrack.de>
Mon, 1 Apr 2013 15:11:15 +0000 (17:11 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 8 Apr 2013 13:43:17 +0000 (15:43 +0200)
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>

No differences found