Bug 6618 - memory leak through mozilla and potential remote code execution

Summary: memory leak through mozilla and potential remote code execution