Eliminate leak and heap buffer overrun.  Bug 315994. r=julien, sr=rrelyea
Eliminate leak and heap buffer overrun.  Bug 315994. r=julien, sr=rrelyea

nmav/nss,nmav/nss,nmav/nss,ekr/nss-old,ekr/nss-old,ekr/nss-old,nmav/nss,nmav/nss,nmav/nss,nmav/nss,ekr/nss-old,ekr/nss-old,ekr/nss-old,ekr/nss-old