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 | 96 | templates.append(t); |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | + delete[] vec; | |
| 100 | + | |
| 99 | 101 | return templates; |
| 100 | 102 | } |
| 101 | 103 | |
| ... | ... | @@ -113,4 +115,3 @@ BR_REGISTER(Gallery, vecGallery) |
| 113 | 115 | } // namespace br |
| 114 | 116 | |
| 115 | 117 | #include "gallery/vec.moc" |
| 116 | - | ... | ... |