From c0dfbde8a8732faf3dd5d59555cb16bc439263cc Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Tue, 5 Sep 2017 11:23:44 +0200 Subject: [PATCH] infra: fix mem leak from merge error --- kernel/sy_old/sy_net.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sy_old/sy_net.c b/kernel/sy_old/sy_net.c index 301dbb5d..da3ccf98 100644 --- a/kernel/sy_old/sy_net.c +++ b/kernel/sy_old/sy_net.c @@ -59,6 +59,7 @@ char *_mars_translate_hostname(const char *name) res = trans; } else { MARS_DBG("no translation for '%s'\n", tmp); + brick_string_free(trans); } brick_string_free(tmp); done: