From: Lukas Fleischer Date: Mon, 1 Apr 2013 15:11:15 +0000 (+0200) Subject: Do not unnecessarily strdup() environment variables X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/a92678b5f119811bccaca9c31b779c5ceed95572?ds=inline;hp=a92678b5f119811bccaca9c31b779c5ceed95572 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 ---