Module: kamailio Branch: master Commit: 2fe07249426b1ae9b368a1d1ffc7f2d5b881c704 URL: https://github.com/kamailio/kamailio/commit/2fe07249426b1ae9b368a1d1ffc7f2d5b881c704
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2017-12-08T08:57:59+01:00 core: pvapi - set prev variable when dropping from cache --- Modified: src/core/pvapi.c --- Diff: https://github.com/kamailio/kamailio/commit/2fe07249426b1ae9b368a1d1ffc7f2d5b881c704.diff Patch: https://github.com/kamailio/kamailio/commit/2fe07249426b1ae9b368a1d1ffc7f2d5b881c704.patch --- diff --git a/src/core/pvapi.c b/src/core/pvapi.c index 64b9fd96ff..dac770a0f3 100644 --- a/src/core/pvapi.c +++ b/src/core/pvapi.c @@ -289,6 +289,7 @@ int pv_cache_drop(void) pkg_free(pvi); return 1; } + pvp = pvi; pvi = pvi->next; } } @@ -310,6 +311,7 @@ int pv_cache_drop(void) pkg_free(pvi); return 1; } + pvp = pvi; pvi = pvi->next; } } _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
