infra: fix mem leak from merge error

This commit is contained in:
Thomas Schoebel-Theuer 2017-09-05 11:23:44 +02:00
parent 832695d560
commit c0dfbde8a8
1 changed files with 1 additions and 0 deletions

View File

@ -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: