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