summaryrefslogtreecommitdiffstats
path: root/mkspecs/win32-borland/qplatformdefs.h
diff options
context:
space:
mode:
authorEduardo M. Fleury <eduardo.fleury@openbossa.org>2009-05-29 16:44:24 (GMT)
committerEduardo M. Fleury <eduardo.fleury@openbossa.org>2009-07-22 18:04:20 (GMT)
commitefb7495717b7fd84996a59ee99c9632aa4f43467 (patch)
tree7d9e8eb357382d78dba3ef2809a1ec4b810fe5b8 /mkspecs/win32-borland/qplatformdefs.h
parent4cecce2273d45e42136f70d3ae6453aa37e1d934 (diff)
downloadQt-efb7495717b7fd84996a59ee99c9632aa4f43467.zip
Qt-efb7495717b7fd84996a59ee99c9632aa4f43467.tar.gz
Qt-efb7495717b7fd84996a59ee99c9632aa4f43467.tar.bz2
QGraphicsAnchorLayout: Fix memory management issue in QSimplex solver
Both QGraphicsAnchorLayoutPrivate::solveMinMax() and solvePreferred() were deleting the linear programming contraints while QSimplex still had them. For solveMinMax(), move the creation of constraints out of that method. For solvePreferred(), create the simplex solver in the heap so it can be deleted before the constraints are. Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org> Reviewed-by: Anselmo Lacerda S. de Melo <anselmo.melo@openbossa.org>
Diffstat (limited to 'mkspecs/win32-borland/qplatformdefs.h')
0 files changed, 0 insertions, 0 deletions