[#2812] Fix memory leak. Handle errors gracefully.
Signed-off-by: Tim Van Steenburgh tvansteenburgh@geek.net
Authored by: Tim Van Steenburgh 2011-09-26
Committed by: Dave Brondsema 2011-09-26
Parent(s): [bbd73a]
Child(ren): [d63068]