BIND 10 trac2821, created. 21dae0aa029e8d549c8ba4d5bffeb10ef341f17d [2821] Small memory leak issue in MySQLLeaseMgr constructor

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Feb 25 16:24:50 UTC 2013


The branch, trac2821 has been created
        at  21dae0aa029e8d549c8ba4d5bffeb10ef341f17d (commit)

- Log -----------------------------------------------------------------
commit 21dae0aa029e8d549c8ba4d5bffeb10ef341f17d
Author: Jelte Jansen <jelte at isc.org>
Date:   Mon Feb 25 17:07:58 2013 +0100

    [2821] Small memory leak issue in MySQLLeaseMgr constructor
    
    the mysql lease manager wouldn't close the mysql database immediately if initialization failed at certain points.
    
    This proposed fix is not entirely complete; it would probably be better to either use such a holder class as the member, or to slightly clean it up so that the return value from release() can be given to mysql_ (and therefore use the holder in the construction code instead of mysql_), but I did not want to touch too much existing code at this point.

-----------------------------------------------------------------------



More information about the bind10-changes mailing list