[sr-dev] [tracker] Task opened: Possible memory leak in srdb1

sip-router bugtracker at sip-router.org
Wed Jun 26 10:51:22 CEST 2013


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Konstantin (Konstantin) 

Attached to Project - sip-router
Summary - Possible memory leak in srdb1
Task Type - Bug Report
Category - libsrdb1 (kamailio)
Status - Unconfirmed
Assigned To - 
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - 4.0
Due in Version - Undecided
Due Date - Undecided
Details - Hi,

I found that inside function db_free_columns in the file lib\srdb1\db_res.c there is no memory free for RES_NAMES(_r)[col]->s structure member pointer. It could be a memory leak.

The RES_NAMES(_r)[col]->s points to a dynamically allocated memory and it should be deallocated with all other structures inside db1_res_t.

I found it in version 3.1.5 and I checked that the issue exists in the latest version as well.

Best regards,
Konstantin.

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=319

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list