void shell_shutdown(void) { E_DB_FLUSH; serv_put_string(DUP("__exit")); usleep(10000); gui_apply(); alias_shutdown(); cl_shutdown(); menu_shutdown(); panel_shutdown(); drawing_free(); if((long)shell->title_dcd != -1L) iconv_close(shell->title_dcd); if((long)shell->dcd != -1L) iconv_close(shell->dcd); ecore_evas_free(shell->ee); IF_FREE(shell->title); IF_FREE(shell->rcfile); IF_FREE(shell->menu_file); IF_FREE(shell->icons_file); IF_FREE(shell->dim_styles_file); IF_FREE(shell->text_styles_file); IF_FREE(shell->line_styles_file); IF_FREE(shell->point_styles_file); IF_FREE(shell->hatch_styles_file); IF_FREE(shell->home); IF_FREE(shell->aliases); }
void ps_free(psdata *ps) { drawing_free(ps->drawing); sfree(ps); }