]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- [valgrind] the userinstalled map only contains the installed packages. mea culpa... SuSE-Code-12_1-Branch
authorMichael Schroeder <mls@suse.de>
Thu, 31 May 2012 09:36:48 +0000 (11:36 +0200)
committerMichael Schroeder <mls@suse.de>
Thu, 31 May 2012 09:38:05 +0000 (11:38 +0200)
src/rules.c

index b024243bb7f9db15de40cdd38227bc9f548c05c6..264e6ae58d6d4fd65edc680dab00b74bf0a1e919 100644 (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);
                }
            }
        }