~pythonregexp2.7/python/issue2636-09-01+10

« back to all changes in this revision

Viewing changes to Modules/almodule.c

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 21:39:45 UTC
  • mfrom: (39055.1.33 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922213945-23717m5eiqpamcyn
Merged in changes from the Single-Loop Engine branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1633
1633
        if (nvals < 0)
1634
1634
                goto cleanup;
1635
1635
        if (nvals > setsize) {
 
1636
                ALvalue *old_return_set = return_set;
1636
1637
                setsize = nvals;
1637
1638
                PyMem_RESIZE(return_set, ALvalue, setsize);
1638
1639
                if (return_set == NULL) {
 
1640
                        return_set = old_return_set;
1639
1641
                        PyErr_NoMemory();
1640
1642
                        goto cleanup;
1641
1643
                }