void delete_target( target_param_t **target) { close( (*target)->fd); #ifdef SERVER if( (*target)->tmpfname){ fprintf( FCGI_stderr, "Temporal file %s is deleted\n", (*target)->tmpfname); remove( (*target)->tmpfname); } #endif if( (*target)->codeidx) delete_index ( &(*target)->codeidx); #ifndef SERVER fprintf( logstream, "local log: target: %s deleted\n", (*target)->targetname); #endif opj_free( (*target)->targetname); opj_free(*target); }
void MtxLP::deleteProb(){ delete_index(); delete_prob(); }
void OPJ_CALLCONV destroy_index( index_t **idx) { delete_index( idx); }