diff options
author | Michael Brown <mcb30@etherboot.org> | 2008-10-13 05:30:04 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2008-10-13 05:34:08 +0100 |
commit | 07e8f18f33eba7aef64d7d2cfafc6738f4096b5a (patch) | |
tree | 02f6f3516023b53c1670473cce7017601ce1b41c /src/core | |
parent | 831e4cfc2718b0784bc22c2d00045481ab3c65b5 (diff) | |
download | ipxe-07e8f18f33eba7aef64d7d2cfafc6738f4096b5a.tar.gz |
[monojob] Release reference on completed job
monojob_wait() was holding a reference to the completed job, meaning that
various objects would not be freed until the next job was plugged in to
the monojob interface.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/monojob.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/monojob.c b/src/core/monojob.c index 3c023c402..657bfd7ad 100644 --- a/src/core/monojob.c +++ b/src/core/monojob.c @@ -91,6 +91,7 @@ int monojob_wait ( const char *string ) { rc = monojob_rc; done: + job_done ( &monojob, rc ); if ( rc ) { printf ( " %s\n", strerror ( rc ) ); } else { |