commit 564d0193db676033db5cfa207c62f7b01f52b741
Author: David Sorber <david.sorber@gmail.com>
Date:   Mon Sep 10 20:30:01 2018 -0400

    Fix simple but nasty memory leak.

diff --git a/software/photo_compress_archiver/PhotoCompressArchiver.cc b/software/photo_compress_archiver/PhotoCompressArchiver.cc
index a5a5961..1c0a892 100644
--- a/software/photo_compress_archiver/PhotoCompressArchiver.cc
+++ b/software/photo_compress_archiver/PhotoCompressArchiver.cc
@@ -391,13 +391,13 @@ void PhotoCompressArchiver::worker_thread_body(uint32_t tid)
                          << percent << "%")
         }
         
+        std::free(out_buffer);
         delete work_unit;
     }
     
     WRKR_OUT_REG(" -- " << PURPLE << BOLD << "[[exiting]]" << ENDC)
     
-    // Clean up
-    std::free(out_buffer);
+    // Clean up    
     delete instance;
     delete file_buffer;
 }
diff --git a/software/photo_compress_archiver/PhotoCompressArchiver.hh b/software/photo_compress_archiver/PhotoCompressArchiver.hh
index 7e1e7a5..85fc236 100644
--- a/software/photo_compress_archiver/PhotoCompressArchiver.hh
+++ b/software/photo_compress_archiver/PhotoCompressArchiver.hh
@@ -24,7 +24,7 @@ const std::string RED("\033[31m");
 const std::string YELLOW("\033[33m");
 const std::string PURPLE("\033[35m");
 
-const std::string version("v0.3.4");
+const std::string version("v0.3.5");
 
 const boost::regex JPEG_REGEX("^.+\\.(jpg)|(jpeg)$", boost::regex::icase);
 const boost::regex PJG_REGEX("^.+\\.pjg$", boost::regex::icase);
