Remove excessive copying

This commit is contained in:
Mukund Sivaraman 2009-11-17 02:20:27 +05:30
parent d7fada25e5
commit 45a56e468d

View File

@ -384,8 +384,9 @@ static int set_string_arg (char **var, const char *line, regmatch_t * match)
if (!arg)
return -1;
*var = safestrdup (arg);
safefree (arg);
*var = arg;
return *var ? 0 : -1;
}