summaryrefslogtreecommitdiffhomepage
path: root/examples/heap.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/heap.c')
-rw-r--r--examples/heap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/heap.c b/examples/heap.c
index 89f700d2..44e9b05e 100644
--- a/examples/heap.c
+++ b/examples/heap.c
@@ -41,5 +41,5 @@ int main()
printf("%.0f ", *cpqueue_f_top(&pq)), cpqueue_f_pop(&pq);
puts("");
- cpqueue_f_destroy(&pq);
+ cpqueue_f_del(&pq);
}