#include <app_service.h>
#include <status.h>
#include <calendar2.h>
-#include <media-util-register.h>
#include <contacts-ug.h>
#include "email-viewer.h"
}
g_free(raw_data);
- calendar_list_destroy(list, true);
+ if (list)
+ calendar_list_destroy(list, true);
calendar_disconnect();
- } else
- media_file_register(newpath);
+ }
} else if (res == EMAIL_EXT_SAVE_ERR_ALREADY_EXIST && !ug_data->display_download_result) {
_create_notify(ug_data, _("IDS_EMAIL_POP_ALERT"),
dgettext("sys_string", "IDS_COM_POP_ALREDY_EXISTS"), 0,