Commit 06cb5ff036907e6b0efd228fe3e2728057172c8f
1 parent
da980eca
Closes #519
Showing
1 changed file
with
2 additions
and
1 deletions
openbr/plugins/gallery/vec.cpp
| @@ -96,6 +96,8 @@ class vecGallery : public FileGallery | @@ -96,6 +96,8 @@ class vecGallery : public FileGallery | ||
| 96 | templates.append(t); | 96 | templates.append(t); |
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | + delete[] vec; | ||
| 100 | + | ||
| 99 | return templates; | 101 | return templates; |
| 100 | } | 102 | } |
| 101 | 103 | ||
| @@ -113,4 +115,3 @@ BR_REGISTER(Gallery, vecGallery) | @@ -113,4 +115,3 @@ BR_REGISTER(Gallery, vecGallery) | ||
| 113 | } // namespace br | 115 | } // namespace br |
| 114 | 116 | ||
| 115 | #include "gallery/vec.moc" | 117 | #include "gallery/vec.moc" |
| 116 | - |