You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2019/11/15 14:13:16 UTC

[GitHub] [nifi-minifi-cpp] bakaid commented on a change in pull request #684: MINIFICPP-1081 - Lower memory usage for long existing ProcessSessions

bakaid commented on a change in pull request #684: MINIFICPP-1081 - Lower memory usage for long existing ProcessSessions
URL: https://github.com/apache/nifi-minifi-cpp/pull/684#discussion_r346840754
 
 

 ##########
 File path: extensions/rocksdb-repos/FlowFileRepository.cpp
 ##########
 @@ -109,7 +110,10 @@ void FlowFileRepository::run() {
 }
 
 void FlowFileRepository::prune_stored_flowfiles() {
-  rocksdb::DB* stored_database_;
+  rocksdb::DB* stored_database_ = nullptr;
 
 Review comment:
   This is an unrelated memory leak but I didn't want to create a separate PR for this.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services