Module: kamailio
Branch: master
Commit: 2fe07249426b1ae9b368a1d1ffc7f2d5b881c704
URL:
https://github.com/kamailio/kamailio/commit/2fe07249426b1ae9b368a1d1ffc7f2d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
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/2fe07249426b1ae9b368a1d1ffc7f2d…
Patch:
https://github.com/kamailio/kamailio/commit/2fe07249426b1ae9b368a1d1ffc7f2d…
---
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;
}
}