fix small memory leaks.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@748 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
smorlat 2009-11-04 09:06:55 +00:00
parent fc7b6d618b
commit 0bbb3b9f3b
2 changed files with 4 additions and 1 deletions

View file

@ -646,6 +646,7 @@ void linphone_gtk_used_identity_changed(GtkWidget *w){
linphone_core_set_default_proxy_index(linphone_gtk_get_core(),(active==0) ? -1 : (active-1));
linphone_gtk_show_directory_search();
}
if (sel) g_free(sel);
}
static void linphone_gtk_show_main_window(){

View file

@ -1696,7 +1696,9 @@ void static_image_init(MSFilter *f){
}
void static_image_uninit(MSFilter *f){
ms_free(f->data);
SIData *d=(SIData*)f->data;
ms_free(d->nowebcamimage);
ms_free(d);
}
void static_image_preprocess(MSFilter *f){