Skip to content

Commit

Permalink
core: pvapi - set prev variable when dropping from cache
Browse files Browse the repository at this point in the history
(cherry picked from commit 2fe0724)
  • Loading branch information
miconda committed Dec 8, 2017
1 parent 7fef1fe commit 5441aa8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/pvapi.c
Expand Up @@ -289,6 +289,7 @@ int pv_cache_drop(void)
pkg_free(pvi);
return 1;
}
pvp = pvi;
pvi = pvi->next;
}
}
Expand All @@ -310,6 +311,7 @@ int pv_cache_drop(void)
pkg_free(pvi);
return 1;
}
pvp = pvi;
pvi = pvi->next;
}
}
Expand Down

0 comments on commit 5441aa8

Please sign in to comment.