Changeset 2290 for trunk/src/kash/trap.c


Ignore:
Timestamp:
Feb 27, 2009, 5:08:07 AM (16 years ago)
Author:
bird
Message:

kash: malloc/free/friends gets a psh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/trap.c

    r1240 r2290  
    192192                INTOFF;
    193193                if (action)
    194                         action = savestr(action);
     194                        action = savestr(psh, action);
    195195
    196196                if (psh->trap[signo])
    197                         ckfree(psh->trap[signo]);
     197                        ckfree(psh, psh->trap[signo]);
    198198
    199199                psh->trap[signo] = action;
     
    224224                        INTOFF;
    225225                        if (!vforked) {
    226                                 ckfree(*tp);
     226                                ckfree(psh, *tp);
    227227                                *tp = NULL;
    228228                        }
Note: See TracChangeset for help on using the changeset viewer.