Module: kamailio
Branch: master
Commit: 9ffafd5d218eeec158081ae51c994ececab43944
URL: 
https://github.com/kamailio/kamailio/commit/9ffafd5d218eeec158081ae51c994ececab43944

Author: Henning Westerholt <[email protected]>
Committer: Henning Westerholt <[email protected]>
Date: 2022-10-25T06:28:51Z

db_postgres: use DBG loglevel for memory cleanup, we output an error already

---

Modified: src/modules/db_postgres/km_pg_con.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/9ffafd5d218eeec158081ae51c994ececab43944.diff
Patch: 
https://github.com/kamailio/kamailio/commit/9ffafd5d218eeec158081ae51c994ececab43944.patch

---

diff --git a/src/modules/db_postgres/km_pg_con.c 
b/src/modules/db_postgres/km_pg_con.c
index 895c644db67..02ceecffeb7 100644
--- a/src/modules/db_postgres/km_pg_con.c
+++ b/src/modules/db_postgres/km_pg_con.c
@@ -159,7 +159,7 @@ struct pg_con *db_postgres_new_connection(struct db_id *id)
 
 err:
        if(ptr) {
-               LM_ERR("cleaning up %p=pkg_free()\n", ptr);
+               LM_DBG("cleaning up %p=pkg_free()\n", ptr);
                pkg_free(ptr);
        }
        return 0;


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to