2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-26 03:09:12 +00:00

[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.
This commit is contained in:
Michael Brown 2008-10-13 05:30:04 +01:00
parent 831e4cfc27
commit 07e8f18f33

View File

@ -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 {