IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7669


Ignore:
Timestamp:
Jun 23, 2006, 3:03:01 PM (20 years ago)
Author:
jhoblitt
Message:

don't decr the ref count when assigning to a struct field (duh!)

File:
1 edited

Legend:

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

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