aboutsummaryrefslogtreecommitdiff
path: root/src/rc-misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc-misc.c')
-rw-r--r--src/rc-misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc-misc.c b/src/rc-misc.c
index f3fce324..1215c0c1 100644
--- a/src/rc-misc.c
+++ b/src/rc-misc.c
@@ -88,7 +88,7 @@ char **env_filter (void)
/* Now go through the env var and only add bits not in our PREFIX */
sep = env_var;
while ((token = strsep (&sep, ":"))) {
- char *np = strdup (PATH_PREFIX);
+ char *np = xstrdup (PATH_PREFIX);
char *npp = np;
char *tok = NULL;
while ((tok = strsep (&npp, ":")))