From 2c9bdd9e326723fb392aed4d8df12cba7ef34f1f Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 22 Apr 2017 06:13:30 +0000 Subject: Memory leaks, from David CARLIER. --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options.c') diff --git a/options.c b/options.c index 4cd3ea10..861bd8ac 100644 --- a/options.c +++ b/options.c @@ -433,7 +433,7 @@ options_match(const char *s, int *idx, int* ambiguous) if (*name == '@') { *ambiguous = 0; - return (xstrdup(name)); + return (name); } found = NULL; -- cgit