- Timestamp:
- Mar 17, 2004, 11:42:13 PM (21 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 1bb1e67
- Parents:
- d4b84c0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
popexec.c
rafbf668 r8721756 111 111 if (pe->rfd<0 && !pe->pid && !pe->winactive) { 112 112 owl_muxevents_remove(owl_global_get_muxevents(&g), handle); 113 owl_function_debugmsg("unref of %p from input handler at A", pe); 113 114 owl_popexec_unref(pe); 114 115 return; … … 133 134 } 134 135 owl_muxevents_remove(owl_global_get_muxevents(&g), handle); 136 owl_function_debugmsg("unref of %p from input handler at B", pe); 135 137 owl_popexec_unref(pe); 136 138 return; … … 180 182 pe->pid = 0; 181 183 } 184 owl_function_debugmsg("unref of %p from onclose", pe); 182 185 owl_popexec_unref(pe); 183 186 } 184 187 185 188 void owl_popexec_unref(owl_popexec *pe) { 189 owl_function_debugmsg("unref of %p was %d", pe, pe->refcount); 186 190 pe->refcount--; 187 191 if (pe->refcount<=0) { 192 owl_function_debugmsg("doing free of %p", pe); 188 193 owl_free(pe); 189 194 }
Note: See TracChangeset
for help on using the changeset viewer.