Changeset 9077

Show
Ignore:
Timestamp:
12/20/05 16:13:37 (3 years ago)
Author:
piotras
Message:

free xmldoc

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/core/midgard/src/mgdschema.c

    r8989 r9077  
    503503        } 
    504504        else if (g_ascii_strcasecmp(type,"longtext") == 0) { 
    505             params[n-1] = g_param_spec_string (pname, nick, "bluuuuuurppp", 
    506                     "", G_PARAM_READWRITE); 
     505            params[n-1] = g_param_spec_internal ( 
     506                            MGD_TYPE_PARAM_LONGTEXT, 
     507                            pname, nick, "bluuuuuurppp", 
     508                            G_PARAM_READWRITE); 
    507509        } 
    508510        else if (g_ascii_strcasecmp(type,"float") == 0) { 
     
    883885                node = node->next; 
    884886        } 
     887        xmlFreeDoc(doc);         
    885888} 
    886889