mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-30 12:44:07 +00:00
FREE_POINTER of job->rdepends was at the wrong place (memory leak)
This commit is contained in:
parent
3b38777b71
commit
3a30a886fc
|
@ -220,9 +220,9 @@ static void threadqueue_free_jobs(threadqueue_queue * const threadqueue) {
|
|||
fprintf(threadqueue->debug_log, "%p->%p\n", threadqueue->queue[i], threadqueue->queue[i]->rdepends[j]);
|
||||
}
|
||||
|
||||
FREE_POINTER(threadqueue->queue[i]->rdepends);
|
||||
FREE_POINTER(threadqueue->queue[i]->debug_description);
|
||||
#endif
|
||||
FREE_POINTER(threadqueue->queue[i]->rdepends);
|
||||
FREE_POINTER(threadqueue->queue[i]);
|
||||
}
|
||||
threadqueue->queue_count = 0;
|
||||
|
|
Loading…
Reference in a new issue