pst: fixed effect leaks
iwd: plugged some effect leaks

thanks coverity
some more leak fixes
fixed another regression from 8bf235f, thanks wjp