mirror of https://github.com/schoebel/mars
infra: fix mem leak from merge error
This commit is contained in:
parent
832695d560
commit
c0dfbde8a8
|
@ -59,6 +59,7 @@ char *_mars_translate_hostname(const char *name)
|
||||||
res = trans;
|
res = trans;
|
||||||
} else {
|
} else {
|
||||||
MARS_DBG("no translation for '%s'\n", tmp);
|
MARS_DBG("no translation for '%s'\n", tmp);
|
||||||
|
brick_string_free(trans);
|
||||||
}
|
}
|
||||||
brick_string_free(tmp);
|
brick_string_free(tmp);
|
||||||
done:
|
done:
|
||||||
|
|
Loading…
Reference in New Issue