Ignore:
Timestamp:
Sep 8, 2020, 4:51:09 PM (21 months ago)
Author:
djay
Message:

Make sure not to try accessing mimetype and provenance in case a local file is used. Fix issue with addMapsToMaps. Produce value string only when memory=load for Python support. Make gdal/profile service usable in case memory=protect.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/service.c

    r957 r961  
    328328    fprintf(stderr,"freeMap\n");
    329329#endif
    330     free(_cursor->name);
    331     free(_cursor->value);
     330    if(_cursor->name!=NULL)
     331      free(_cursor->name);
     332    if(_cursor->value!=NULL)
     333      free(_cursor->value);
    332334    if(_cursor->next!=NULL){
    333335      freeMap(&_cursor->next);
    334       free(_cursor->next);
     336      if(_cursor->next!=NULL)
     337        free(_cursor->next);
    335338    }
    336339  }
     
    825828    else{
    826829      maps* tmp1=getMaps(*mo,tmp->name);
    827       while(_cursor->next!=NULL)
    828         _cursor=_cursor->next;
    829830      if(tmp1==NULL){
     831        while(_cursor->next!=NULL)
     832          _cursor=_cursor->next;
    830833        _cursor->next=dupMaps(&tmp);
    831834        if(tmp->child!=NULL)
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png