Commit cef38468 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix little memory leak of the chat database filename.

parent b181c9b6
...@@ -2214,8 +2214,8 @@ core_start: ...@@ -2214,8 +2214,8 @@ core_start:
linphone_core_enable_logs_with_cb(linphone_gtk_log_handler); linphone_core_enable_logs_with_cb(linphone_gtk_log_handler);
db_file=linphone_gtk_message_storage_get_db_file(NULL); db_file=linphone_gtk_message_storage_get_db_file(NULL);
linphone_gtk_init_liblinphone(config_file, factory_config_file, db_file); linphone_gtk_init_liblinphone(config_file, factory_config_file, db_file);
free(db_file);
/* do not lower timeouts under 30 ms because it exhibits a bug on gtk+/win32, with cpu running 20% all the time...*/ /* do not lower timeouts under 30 ms because it exhibits a bug on gtk+/win32, with cpu running 20% all the time...*/
gtk_timeout_add(30,(GtkFunction)linphone_gtk_iterate,(gpointer)linphone_gtk_get_core()); gtk_timeout_add(30,(GtkFunction)linphone_gtk_iterate,(gpointer)linphone_gtk_get_core());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment