[sr-dev] [kamailio] kamailio 4.4.0-dev5 crashes using pua + pua_reginfo (#377)
foucse
notifications at github.com
Fri Oct 23 13:52:54 CEST 2015
Hello Daniel,
After your commit:
```
commit 56cd7a0d38c8bbee6cc3e981b7a2b78b6d47257d
Author: Daniel-Constantin Mierla <****@****>
Date: Thu Oct 22 23:08:44 2015 +0200
db_postgres: don't free pg query structure in store result function
- it is done when freeing the result
diff --git a/modules/db_postgres/km_dbase.c b/modules/db_postgres/km_dbase.c
index 50ffd7f..816a512 100644
--- a/modules/db_postgres/km_dbase.c
+++ b/modules/db_postgres/km_dbase.c
@@ -602,7 +602,6 @@ int db_postgres_store_result(const db1_con_t* _con, db1_res_t** _r)
}
done:
- db_postgres_free_query(_con);
return (rc);
}
```
Kamailio doesn't crash anymore in my testing scenario.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/377#issuecomment-150552222
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20151023/2ac2a41e/attachment.html>
More information about the sr-dev
mailing list