Changeset 2184


Ignore:
Timestamp:
Jul 29, 2008 12:13:40 PM (16 years ago)
Author:
nanang
Message:

Ticket #557: Fixed memory leak in Speex EC (actually this is updating Speex version to 1.2rc1)

Location:
pjproject/trunk/third_party/speex/libspeex
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/third_party/speex/libspeex/mdf.c

    r2002 r2184  
    618618   speex_free(st->wtmp2); 
    619619#endif 
     620   speex_free(st->memX); 
     621   speex_free(st->memD); 
     622   speex_free(st->memE); 
     623   speex_free(st->notch_mem); 
     624 
    620625   speex_free(st->play_buf); 
    621626   speex_free(st); 
  • pjproject/trunk/third_party/speex/libspeex/preprocess.c

    r2002 r2184  
    11701170      break; 
    11711171   case SPEEX_PREPROCESS_GET_ECHO_STATE: 
    1172       ptr = (void*)st->echo_state; 
     1172      (*(SpeexEchoState**)ptr) = (SpeexEchoState*)st->echo_state; 
    11731173      break; 
    11741174#ifndef FIXED_POINT 
Note: See TracChangeset for help on using the changeset viewer.