IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4320


Ignore:
Timestamp:
Jun 20, 2005, 11:53:45 AM (21 years ago)
Author:
jhoblitt
Message:

workaround for psArrayGet() not incrementing the ref count

File:
1 edited

Legend:

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

    r4241 r4320  
    1717    rowSet = psDBSelectRows(dbh, [% namespace FILTER upper %]_TABLE_NAME, NULL, 1);
    1818    row = psArrayGet(rowSet, 0);
     19    // FIXME: psArrayGet should increment the ref count
     20    psMemIncrRefCounter(row);
    1921    if (!row) {
    2022        // psError(); error or table is empty
Note: See TracChangeset for help on using the changeset viewer.