mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-26 23:58:17 +00:00
User pointer must remain the property of the user.
This commit is contained in:
parent
8f633b21fc
commit
74c44f6c25
1 changed files with 0 additions and 6 deletions
|
|
@ -7087,9 +7087,6 @@ LinphoneCoreVTable *linphone_core_v_table_new() {
|
|||
}
|
||||
|
||||
void linphone_core_v_table_set_user_data(LinphoneCoreVTable *table, void *data) {
|
||||
if (table->user_data) {
|
||||
ms_free(table->user_data);
|
||||
}
|
||||
table->user_data = data;
|
||||
}
|
||||
|
||||
|
|
@ -7098,9 +7095,6 @@ void* linphone_core_v_table_get_user_data(LinphoneCoreVTable *table) {
|
|||
}
|
||||
|
||||
void linphone_core_v_table_destroy(LinphoneCoreVTable* table) {
|
||||
if (table->user_data) {
|
||||
ms_free(table->user_data);
|
||||
}
|
||||
ms_free(table);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue