fix a few stray unguarded strdup's

This commit is contained in:
Denis Vlasenko
2008-03-28 02:24:59 +00:00
parent 2570b2e575
commit c4523c2b3d
4 changed files with 140 additions and 147 deletions

View File

@@ -285,7 +285,7 @@ static char *string_copy(const char *s)
if (!s)
return 0;
ret = strdup(s);
ret = xstrdup(s);
return ret;
}