diff options
author | Gilbok Lee <gilbok.lee@samsung.com> | 2019-08-14 18:00:47 +0900 |
---|---|---|
committer | Gilbok Lee <gilbok.lee@samsung.com> | 2019-08-14 18:00:47 +0900 |
commit | 6d7c210f9d4caa441f247048ede741536dcbc71a (patch) | |
tree | 0ce1df03f27c4fcc8d1b3b11df6bf763122248ec | |
parent | 43ea2bfc77bf2505b17303ea2606fa4fcb1169ce (diff) | |
download | libmm-radio-tizen_4.0.tar.gz libmm-radio-tizen_4.0.tar.bz2 libmm-radio-tizen_4.0.zip |
Remove mrp_res_release_resource_set causing unnecessary callback callssubmit/tizen_4.0/20190819.020915accepted/tizen/4.0/unified/20190820.015439tizen_4.0accepted/tizen_4.0_unified
- During the mmradio_resource_manager_deinit performance,
_mmradio_rset_state_callback is called and crash occurs.
[Version] 0.2.40
[Issue Type] Fix bugs
Change-Id: Ibf1a89bbfcb63eb36244f9691ffa1f100831f35a
-rw-r--r-- | packaging/libmm-radio.spec | 2 | ||||
-rw-r--r-- | src/mm_radio_resource.c | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/packaging/libmm-radio.spec b/packaging/libmm-radio.spec index eca4b79..30f7bc7 100644 --- a/packaging/libmm-radio.spec +++ b/packaging/libmm-radio.spec @@ -1,6 +1,6 @@ Name: libmm-radio Summary: Multimedia Framework Radio Library -Version: 0.2.40 +Version: 0.2.41 Release: 0 Group: System/Libraries License: Apache-2.0 diff --git a/src/mm_radio_resource.c b/src/mm_radio_resource.c index 59463ea..64d57ca 100644 --- a/src/mm_radio_resource.c +++ b/src/mm_radio_resource.c @@ -509,10 +509,6 @@ int mmradio_resource_manager_deinit(mm_radio_resource_manager *resource_manager) MMRADIO_CHECK_CONNECTION_RESOURCE_MANAGER(resource_manager); if (resource_manager->rset) { - if (resource_manager->rset->state == MRP_RES_RESOURCE_ACQUIRED) { - if (mrp_res_release_resource_set(resource_manager->rset)) - MMRADIO_LOG_ERROR("- could not release resource"); - } mrp_res_delete_resource_set(resource_manager->rset); resource_manager->rset = NULL; } |