(svn r3347) Plug a memory leak (Found by Valgrind using Truelight ... or was it the other way round?)

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
tron 19 years ago
parent 6319e8910f
commit 0f03d94fbe

@ -284,6 +284,7 @@ static void BinaryHeap_Free(Queue* q, bool free_values)
break;
free(q->data.binaryheap.elements[i]);
}
free(q->data.binaryheap.elements);
if (q->freeq)
free(q);
}

Loading…
Cancel
Save