Fix alloc-dealloc-mismatch (operator new [] vs operator delete)

Authored by lukast.

Description

Fix alloc-dealloc-mismatch (operator new [] vs operator delete)

Found using AddressSanitizer

  • qDeleteAll does not delete containers whose items are alloced as arrays
  • QScopedPointer should not be used for arrays, use QScopedArrayPointer instead

Details

Committed
lukastApr 18 2015, 7:06 AM
Parents
R8:f53ff63eafb1: Repaint the current page when seeting a new master
Branches
Unknown
Tags
Unknown