Backed out 2 changesets (bug 799142) because of memory leaks

Backed out changeset a0cf0252cee4 (bug 799142)
Backed out changeset 7b1bb476bd8d (bug 799142)