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:
parent
831e4cfc27
commit
07e8f18f33
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user