Changeset 320 for devel/C++


Ignore:
Timestamp:
09/01/14 10:55:50 (10 years ago)
Author:
bas
Message:

added some free calss to free memorry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/C++/pbs.i

    r309 r320  
    274274  }
    275275
     276  free(ptr);
    276277  if (SARA_DEBUG) printf("\t</Contents>\n");
    277278} // end typemap struct batch_status *
     
    301302    ptr = ptr->next;
    302303  }
     304
     305  free(ptr);
    303306  if (SARA_DEBUG) printf("\t</Contents>\n");
    304307} // end typemap struct attrl *
     
    326329    ptr = ptr->next;
    327330  }
     331
     332  free(ptr);
    328333  if (SARA_DEBUG) printf("\t</Contents>\n");
    329334} // end typemap struct attropl *
     
    356361        printf("\t\t- %s\n", $1[i]);
    357362   }
     363
    358364   if (SARA_DEBUG)
    359365     printf("\t</Contents>\n");
Note: See TracChangeset for help on using the changeset viewer.