diff options
author | Roy Marples <roy@marples.name> | 2007-10-08 11:16:22 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-10-08 11:16:22 +0000 |
commit | cd4bce7e8da691b8be0a88292eee13852b826b7e (patch) | |
tree | 26ab1fb49a790b8855b0dc60781551896c065931 /src/rc-misc.c | |
parent | a89ceb7e2c994e2a3907d9c906d99021a6e15788 (diff) |
Wups, should be xstrdup
Diffstat (limited to 'src/rc-misc.c')
-rw-r--r-- | src/rc-misc.c | 2 |
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, ":"))) |