Module: kamailio
Branch: master
Commit: 318669423164b7c96e48861fd49de17d34e957ab
URL:
https://github.com/kamailio/kamailio/commit/318669423164b7c96e48861fd49de17…
Author: wkampich <wolfgang.kampichler(a)gmail.com>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-08-16T08:04:03+02:00
lost: adds HELD (RFC6155) and LOST (RFC5222) queries for location-based routing
- header comment included
---
Modified: src/modules/lost/utilities.c
---
Diff:
https://github.com/kamailio/kamailio/commit/318669423164b7c96e48861fd49de17…
Patch:
https://github.com/kamailio/kamailio/commit/318669423164b7c96e48861fd49de17…
---
diff --git a/src/modules/lost/utilities.c b/src/modules/lost/utilities.c
index 78fb45caab..5b6afe8b39 100644
--- a/src/modules/lost/utilities.c
+++ b/src/modules/lost/utilities.c
@@ -95,7 +95,7 @@ void lost_rand_str(char *dest, size_t lgth)
/*
* lost_free_loc(ptr)
- * freess a location object
+ * frees a location object
*/
void lost_free_loc(p_loc_t ptr)
{
@@ -106,6 +106,10 @@ void lost_free_loc(p_loc_t ptr)
pkg_free(ptr);
}
+/*
+ * lost_free_string(ptr)
+ * frees and resets a string
+ */
void lost_free_string(str *string)
{
str ptr = *string;