Memory leaks, from David CARLIER.

This commit is contained in:
nicm
2017-04-22 06:13:30 +00:00
parent c8ecbf38ab
commit 2c9bdd9e32
5 changed files with 26 additions and 14 deletions

View File

@ -433,7 +433,7 @@ options_match(const char *s, int *idx, int* ambiguous)
if (*name == '@') {
*ambiguous = 0;
return (xstrdup(name));
return (name);
}
found = NULL;