Change-Id: I8f4cac9e71ef504ee1c12b4ccf120ebe1a76bc56
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
if (__bt_save_v_object(info->file_path, info->file_type) == FALSE) {
ERR("Unable to save vObject");
__bt_scan_media_file(info->file_path);
- } else if (info->file_type == BT_FILE_VCAL) {
- ecore_file_remove(info->file_path);
}
+
+ if (info->file_type == BT_FILE_VCAL || info->file_type == BT_FILE_VCARD)
+ ecore_file_remove(info->file_path);
+
__free_file_info(info);
return NULL;