Beispiel #1
0
void model_destroy(model* m)
{
    free(m->name);
    model_destroygrids(m);
    model_destroyvars(m);
    model_freemodeldata(m);
    free(m);
}
Beispiel #2
0
void model_destroy(model* m)
{
    free(m->name);
    grids_destroy(m->ngrid, m->grids);
    model_destroyvars(m);
    model_freemodeldata(m);
    free(m);
}