Changeset 364 for branches


Ignore:
Timestamp:
Apr 8, 2010, 9:49:04 AM (12 years ago)
Author:
dmik
Message:

branches/kmk: Fixed memory leak when opening the Print dialog multiple times.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/kmk/Lucide/gui/printDlg.cpp

    r363 r364  
    6767PrintDlg::~PrintDlg()
    6868{
     69    if ( pQueueInfo != NULL ) {
     70        free( pQueueInfo );
     71    }
     72
    6973    delete filename;
    7074    delete pcurForm;
     
    121125    if ( cTotal == 0L ) {
    122126        // TODO: 'no printers installed' message  (?)
     127    }
     128
     129    if ( pQueueInfo != NULL ) {
     130        free( pQueueInfo );
    123131    }
    124132
Note: See TracChangeset for help on using the changeset viewer.