# vtkDebugLeaks detected some class I didn't use

**URL:** https://discourse.vtk.org/t/vtkdebugleaks-detected-some-class-i-didnt-use/11712
**Category:** Support
**Created:** [June 14, 2023, 4:00am UTC](https://discourse.vtk.org/t/vtkdebugleaks-detected-some-class-i-didnt-use/11712 "2023-06-14T04:00:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Miu\_Lee](https://discourse.vtk.org/user_avatar/discourse.vtk.org/miu_lee/32/7265_2.png) [@Miu\_Lee](https://discourse.vtk.org/u/Miu_Lee)
#### Post date: [June 14, 2023, 4:00am UTC](https://discourse.vtk.org/t/vtkdebugleaks-detected-some-class-i-didnt-use/11712/1 "2023-06-14T04:00:56Z")

</div>

I used QVTKwidget to show some 3d model and when I closed the application window, the error window showed up.

> **[2 hosted at ImgBB](https://ibb.co/L1JkV8P)**
>
> Image 2 hosted in ImgBB

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [June 14, 2023, 6:54am UTC](https://discourse.vtk.org/t/vtkdebugleaks-detected-some-class-i-didnt-use/11712/2 "2023-06-14T06:54:11Z")

</div>

Well, you have leaks in your code 🙂

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cory.quammen/32/6751_2.png) [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)
#### Post date: [June 14, 2023, 3:08pm UTC](https://discourse.vtk.org/t/vtkdebugleaks-detected-some-class-i-didnt-use/11712/3 "2023-06-14T15:08:19Z")

</div>

You may not have used all those classes directly in your code, but you likely used one that used the others. Or QVTKWidget did.
