Skip to content

Commit

Permalink
Fixed potential segfault in PAL code (thanks Juergen for discovering …
Browse files Browse the repository at this point in the history
…that)

git-svn-id: http://svn.osgeo.org/qgis/trunk@12143 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Nov 16, 2009
1 parent e8ceadf commit 976748c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/pal/problem.cpp
Expand Up @@ -2448,8 +2448,8 @@ namespace pal

while ( list->size() > 0 )
{
int probFeatId = lp->getProblemFeatureId();
lp = list->pop_front();
int probFeatId = lp->getProblemFeatureId();
if ( solution[probFeatId] >= 0 )
{
std::cerr << "Doublon : " << probFeatId << " "
Expand Down

0 comments on commit 976748c

Please sign in to comment.