summaryrefslogtreecommitdiffstats
path: root/src/util/swapdevids.pl
diff options
context:
space:
mode:
authorMichael Brown2008-06-13 04:39:22 +0200
committerMichael Brown2010-06-15 17:26:28 +0200
commit068ef5f72d6acd7ebdd3ec4065c9e9aeb6ff9b1b (patch)
treec3e9e4717e346088eeac2bbd61d8b2dda8945336 /src/util/swapdevids.pl
parent[jme] Fix refill behavior (diff)
downloadipxe-068ef5f72d6acd7ebdd3ec4065c9e9aeb6ff9b1b.tar.gz
ipxe-068ef5f72d6acd7ebdd3ec4065c9e9aeb6ff9b1b.tar.xz
ipxe-068ef5f72d6acd7ebdd3ec4065c9e9aeb6ff9b1b.zip
[process] Hold reference to process during call to step()
It is conceivable that the process may terminate during the execution of step(). If nothing else holds a reference to the containing object, this would cause the object to be freed prior to returning from step(). Add a ref_get()/ref_put() around the call to ->step() to prevent this from happening. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/util/swapdevids.pl')
0 files changed, 0 insertions, 0 deletions