Bug #57211 mysqlbackup (innobackup C port) may fail to free some memory
Submitted: 4 Oct 2010 9:31 Modified: 2 Dec 2010 1:33
Reporter: Victor Kirkebo Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Backup Severity:S3 (Non-critical)
Version:3.5 OS:Any
Assigned to: Satya B CPU Architecture:Any

[4 Oct 2010 9:31] Victor Kirkebo
Description:
There's a typo that may cause mysqlbackup to fail to free some memory in some situations.

In the file innobackup.c at the end of the function copy_incremental_to_full_backup():

  if (full_backup_db_dirp)
    my_dirend(full_backup_dirp);

should be:
----------

  if (full_backup_db_dirp)
    my_dirend(full_backup_db_dirp);

How to repeat:
Please read the source code of mysqlbackup.
[6 Oct 2010 6:46] Satya B
Just listen to Victor :)!
[11 Oct 2010 8:34] Satya B
revno: 243
revision-id: satya.bn@sun.com-20101011073449-ibsdtsjxzold3zb6
parent: ingo.struewing@oracle.com-20101007134040-mrthhki104yvr2mu