Go to file
Thiago Macieira 649cd98743 Remove use of ::free from qlist.h
The memory is allocated in qlist.cpp, so it should be freed in
qlist.cpp. Freeing it in qlist.cpp ties our hands about future
improvements to the allocator.

In addition, silence the warning by the too-smart-for-its-own-good GCC
that we're trying to free a non-heap object:

  qlist.h:763:14: warning: attempt to free a non-heap object "QListData::shared_null" [-Wfree-nonheap-object]

The warning is wrong. It should say "possibly" somewhere because GCC
failed to account for all conditions in the path to free().

Change-Id: I34a6c16bba9a2197fc83eb3c7a63ae06fb25bf15
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-08-09 03:26:05 +02:00
bin
config.tests
dist Only emit the clicked() signal from views if the left button is used. 2012-08-07 16:40:07 +02:00
doc change \img to \image in docs 2012-08-01 15:37:46 +02:00
examples Avoid potential crash. 2012-08-08 12:04:49 +02:00
lib
mkspecs Update Raspberry Pi mkspec 2012-08-09 03:25:55 +02:00
qmake support installs with target dir 2012-08-08 12:04:49 +02:00
src Remove use of ::free from qlist.h 2012-08-09 03:26:05 +02:00
tests statemachine: Really fix signal transition handling in multi-threaded setup 2012-08-08 14:13:53 +02:00
tools Make it possible to force generation of debug info in release builds 2012-08-09 03:25:53 +02:00
util
.gitattributes
.gitignore
.tag
configure Make it possible to force generation of debug info in release builds 2012-08-09 03:25:53 +02:00
configure.bat
header.BSD
header.FDL
header.LGPL
header.LGPL-ONLY
INSTALL
LGPL_EXCEPTION.txt
LICENSE.FDL
LICENSE.GPL
LICENSE.LGPL
LICENSE.PREVIEW.COMMERCIAL
qtbase.pro
sync.profile Revert "Move QWindowSystemInterface out of qpa." 2012-08-03 00:38:09 +02:00