diff -r 89e065397ea6 -r e24348a560a6 src/corelib/tools/qscopedpointer.cpp --- a/src/corelib/tools/qscopedpointer.cpp Thu May 27 13:40:48 2010 +0300 +++ b/src/corelib/tools/qscopedpointer.cpp Fri Jun 11 14:24:45 2010 +0300 @@ -57,7 +57,7 @@ called resource acquisition is initialization(RAII). QScopedPointer guarantees that the object pointed to will get deleted when - the current scope dissapears. + the current scope disappears. Consider this function which does heap allocations, and have various exit points: @@ -227,7 +227,7 @@ /*! \class QScopedArrayPointer - + \brief The QScopedArrayPointer class stores a pointer to a dynamically allocated array of objects, and deletes it upon destruction.