Changeset 16273

Show
Ignore:
Timestamp:
04/28/08 14:30:27 (7 months ago)
Author:
piotras
Message:

update: free ml table string

Files:

Legend:

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

    r15957 r16273  
    665665        /* TODO: Should I worry about error in repligard table here? */          
    666666 
     667        gchar *ml_table = NULL; 
     668 
    667669        /* MULTILANG */ 
    668670        if(midgard_object_class_is_multilang(klass)) { 
     
    672674                g_object_set(G_OBJECT(gobj), "sid", _id, NULL); 
    673675 
    674                 gchar *ml_table = g_strconcat(table, "_i", NULL); 
     676                ml_table = g_strconcat(table, "_i", NULL); 
    675677                 
    676678                GString *ml_select = g_string_new(" SELECT "); 
     
    738740                }                
    739741        } 
     742 
     743        if(ml_table) 
     744                g_free(ml_table); 
    740745 
    741746        /* Success, emit done signals */