1
0
mirror of https://github.com/openSUSE/libsolv.git synced 2026-02-05 12:45:46 +01:00

- [valgrind] the userinstalled map only contains the installed packages. mea culpa...

This commit is contained in:
Michael Schroeder
2012-05-31 11:36:48 +02:00
parent 24f19cda6f
commit 0b2246f569

View File

@@ -2280,7 +2280,7 @@ static void solver_createcleandepsmap(Solver *solv)
{
Id buddy = pool->nscallback(pool, pool->nscallbackdata, NAMESPACE_PRODUCTBUDDY, p);
if (buddy >= installed->start && buddy < installed->end && pool->solvables[buddy].repo == installed)
MAPSET(&userinstalled, buddy);
MAPSET(&userinstalled, buddy - installed->start);
}
}
}