resolved memory leakage for remote browser plugin

I try to resolve same mistake inside the remote browser plugin. There was a problem related to the memory deallocation, well known as memory leakage problem. I also opened an issue for this.
issue #247