Ignore:
Timestamp:
Jun 11, 2010 9:44:18 AM (14 years ago)
Author:
nanang
Message:

Fix #1093:

  • Fixed memory leak of CVoIPFormatIntfc instances in S60 VAS.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-audiodev/symb_vas_dev.cpp

    r3116 r3201  
    365365        iVoIPDnlink->Close(); 
    366366 
     367    delete enc_fmt_if; 
     368    delete dec_fmt_if; 
    367369    delete iVoIPDnlink; 
    368370    delete iVoIPUplink; 
     
    386388    pj_assert(iVoIPDnlink); 
    387389 
     390    delete dec_fmt_if; 
     391    dec_fmt_if = NULL; 
    388392    err = iVoIPDnlink->SetFormat(setting_.format, dec_fmt_if); 
    389393    if (err != KErrNone) 
     
    403407    pj_assert(iVoIPUplink); 
    404408 
     409    delete enc_fmt_if; 
     410    enc_fmt_if = NULL; 
    405411    err = iVoIPUplink->SetFormat(setting_.format, enc_fmt_if); 
    406412    if (err != KErrNone) 
Note: See TracChangeset for help on using the changeset viewer.