Fix crash - call function in unloaded so file 03/242503/2 accepted/tizen/unified/20200828.121520 submit/tizen/20200827.083640
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 27 Aug 2020 07:47:53 +0000 (16:47 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 27 Aug 2020 08:14:46 +0000 (17:14 +0900)
commitfdf9b8c68d12766ccc7912db1d38013144747b3c
tree3da9866bbda9a7de1ead488a3ee90d6752c71a6b
parentf4949bd8ab42bdaa1abf9aac2424421393951853
Fix crash - call function in unloaded so file

- In recorder_dispatcher_destroy(), camera_remove_export_data() is always called,
  but it could not be called if there is no camera data.
  Because "libmuse-recorder.so" does not have dependency to "libmuse-camera.so" which has camera_remove_export_data().
  "libmuse-camera.so" will be loaded when camera_data is used.

[Version] 0.3.22
[Issue Type] Bug fix

Change-Id: I4e49ef3f07a1b41ba5f547ec1824c4a662291300
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
muse/src/muse_recorder_dispatcher.c
packaging/mmsvc-recorder.spec