title: How to free an icu::Transliterator?
body: <p>When I do</p>
  <pre><code>UErrorCode status = U_ZERO_ERROR;
  icu::Transliterator* myTrans = Transliterator::createInstance(&quot;Latin-Greek&quot;, UTRANS_FORWARD, status);
  myTrans-&gt;transliterate(...);
  </code></pre>
  <p>and have no further use for <code>myTrans</code>, AddressSanitizer tells me it's leaking memory. I don't see methods like <code>close</code> or <code>free</code> in <a href="https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classicu_1_1Transliterator.html" rel="nofollow noreferrer">https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classicu_1_1Transliterator.html</a>. There is <code>unregister</code> but it will mean I can't create the same transliterator again, right?</p>