Ignore:
Timestamp:
Oct 16, 2014, 10:02:46 AM (10 years ago)
Author:
djay
Message:

Fix leaks in ZOO-Kernel.

File:
1 edited

Legend:

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

    r509 r510  
    32253225          fcontent[hInternet->ihandle[index].nDataLen]=0;
    32263226          fsize=hInternet->ihandle[index].nDataLen;
    3227           mimeType=strdup((char*)hInternet->ihandle[index].mimeType);
     3227          if(hInternet->ihandle[index].mimeType==NULL)
     3228            mimeType=strdup("none");
     3229          else
     3230            mimeType=strdup((char*)hInternet->ihandle[index].mimeType);
    32283231         
    32293232          map* tmpMap=getMapOrFill(&content->content,"value","");
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