[prev in list] [next in list] [prev in thread] [next in thread] 

List:       serdev
Subject:    [sr-dev] git:master:9ffafd5d: db_postgres: use DBG loglevel for memory cleanup, we output an error a
From:       Henning Westerholt <hw () gilawa ! com>
Date:       2022-10-25 6:29:23
Message-ID: E1onDRD-0003lw-1T () www ! kamailio ! org
[Download RAW message or body]

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

Author: Henning Westerholt <hw@gilawa.com>
Committer: Henning Westerholt <hw@gilawa.com>
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
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic