[SQE][LibFuzzer] Fix opened file descriptors cleanup in libmm-sound 44/132444/1 accepted/tizen/unified/20170608.072209 submit/tizen/20170607.044604
authorSeungbae Shin <seungbae.shin@samsung.com>
Mon, 5 Jun 2017 08:08:18 +0000 (17:08 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Mon, 5 Jun 2017 08:08:18 +0000 (17:08 +0900)
[Version] 0.11.5
[Profile] Common
[Issue Type] SQE

Change-Id: I2c241b1d61e5041b68beb3ed9c43eecc2ccdbf24

packaging/libmm-sound.spec
server/plugin/wav/mm_sound_plugin_codec_wave.c

index 75278db..8b3cc42 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-sound
 Summary:    MMSound Package contains client lib and sound_server binary
-Version:    0.11.4
+Version:    0.11.5
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index 1769252..32a1a75 100644 (file)
@@ -500,6 +500,7 @@ static int _mm_sound_plug_codec_wave_create(mmsound_codec_param_t *param, mmsoun
        return MM_ERROR_NONE;
 
 error:
+       _sound_unprepare(p);
        free(p);
        return MM_ERROR_SOUND_INTERNAL;
 }