From 06cb5ff036907e6b0efd228fe3e2728057172c8f Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Mon, 9 Jan 2017 11:23:31 -0700 Subject: [PATCH] Closes #519 --- openbr/plugins/gallery/vec.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbr/plugins/gallery/vec.cpp b/openbr/plugins/gallery/vec.cpp index f38ecc1..7679e38 100644 --- a/openbr/plugins/gallery/vec.cpp +++ b/openbr/plugins/gallery/vec.cpp @@ -96,6 +96,8 @@ class vecGallery : public FileGallery templates.append(t); } + delete[] vec; + return templates; } @@ -113,4 +115,3 @@ BR_REGISTER(Gallery, vecGallery) } // namespace br #include "gallery/vec.moc" - -- libgit2 0.21.4