Merged revisions 271867 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r271867 | russell | 2010-06-22 11:28:03 -0500 (Tue, 22 Jun 2010) | 7 lines
Resolve some errors that occur on a graceful shutdown.
Don't Finalize() if Initialize() did not succeed. This resulted in an error
about trying to Finalize() an invalid handle.
Also trim some trailing whitespace while in the area.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@271869
65c4cc65-6c06-0410-ace0-
fbb531ad65f3