Fixed a mem/resource leak.
Linux32 build for 1.0.3.2013-09-24 (Firefox 24)
Win32 build for 1.0.3.2013-09-24 (Firefox 24)