diff options
-rw-r--r-- | gweb/gresolv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gweb/gresolv.c b/gweb/gresolv.c index fbb7a54b..1f8e372c 100644 --- a/gweb/gresolv.c +++ b/gweb/gresolv.c @@ -494,7 +494,7 @@ static void sort_and_return_results(struct resolv_lookup *lookup) } else continue; - results[n++] = strdup(buf); + results[n++] = g_strdup(buf); } results[n++] = NULL; |