Fix for bug 1232, problem during destroy
Fix for bug 1232, problem during destroy

http://bugs.motifzone.net/show_bug.cgi?id=1232

unix-junkie/motif,fjardon/motif,fjardon/motif,unix-junkie/motif,unix-junkie/motif,fjardon/motif