Update IAddon.java

#432 fix
Merge pull request #436 from httpdispatch/patch-2

Fix memory leak in IAddon