IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 23, 2006, 2:49:45 PM (20 years ago)
Author:
jhoblitt
Message:

fix memory leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/glueforge/templates/psdb/alloc.tt

    r5907 r7667  
    2222[% FOREACH item = table.columns -%]
    2323[% IF item.type == "STR" -%]
    24     object->[% item.name %] = psStringCopy([% item.name %]);
     24    object->[% item.name %] = psMemDecrRefCount(psStringCopy([% item.name %]));
    2525[% ELSE -%]
    2626    object->[% item.name %] = [% item.name %];
Note: See TracChangeset for help on using the changeset viewer.