Revert "addImageAsync memory leak fix"

This reverts commit c8720669aeaedf1f182f8067b64a81b9bc53de3f.