mirror of
https://github.com/schoebel/mars
synced 2025-01-02 20:32:17 +00:00
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;
|
||||
} else {
|
||||
MARS_DBG("no translation for '%s'\n", tmp);
|
||||
brick_string_free(trans);
|
||||
}
|
||||
brick_string_free(tmp);
|
||||
done:
|
||||
|
Loading…
Reference in New Issue
Block a user