diff options
author | Jiyoun Park <jy0703.park@samsung.com> | 2013-01-10 13:04:00 +0900 |
---|---|---|
committer | Jiyoun Park <jy0703.park@samsung.com> | 2013-01-10 13:04:00 +0900 |
commit | e4d461f1538bd8bb02a091355f8a60d03b315e20 (patch) | |
tree | d06d1bbd89818fe9b6bb4143b45134e4f29e627e | |
parent | c57cbd9cae7c654d53c2bf00ea97e9bf410eda57 (diff) | |
download | edje-multisense-plugin-e4d461f1538bd8bb02a091355f8a60d03b315e20.tar.gz edje-multisense-plugin-e4d461f1538bd8bb02a091355f8a60d03b315e20.tar.bz2 edje-multisense-plugin-e4d461f1538bd8bb02a091355f8a60d03b315e20.zip |
(prevent 34206) fix dereference null check
Change-Id: I3f399c1f59faeef6342d2a989829eccd70ea9a20
-rw-r--r-- | src/tizen_sound_player/tizen_sound_player.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tizen_sound_player/tizen_sound_player.c b/src/tizen_sound_player/tizen_sound_player.c index 3a79b7c..fdca12d 100644 --- a/src/tizen_sound_player/tizen_sound_player.c +++ b/src/tizen_sound_player/tizen_sound_player.c @@ -347,7 +347,8 @@ _remix_mm_handle_close(void *data) { RemixPlayerData *player_data = data; - if ((!player_data) && (!player_data->handle)) return ECORE_CALLBACK_CANCEL; + if (!player_data) return ECORE_CALLBACK_CANCEL; + if (!player_data->handle) return ECORE_CALLBACK_CANCEL; mm_sound_pcm_play_stop(player_data->handle); mm_sound_pcm_play_close(player_data->handle); |