Skip to content

Commit 158cbc7

Browse files
author
wonder
committed
Fixed potential segfault in PAL code (thanks Juergen for discovering that)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12143 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent cd9a6b8 commit 158cbc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/pal/problem.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2448,8 +2448,8 @@ namespace pal
24482448

24492449
while ( list->size() > 0 )
24502450
{
2451-
int probFeatId = lp->getProblemFeatureId();
24522451
lp = list->pop_front();
2452+
int probFeatId = lp->getProblemFeatureId();
24532453
if ( solution[probFeatId] >= 0 )
24542454
{
24552455
std::cerr << "Doublon : " << probFeatId << " "

0 commit comments

Comments
 (0)