diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-06-07 14:28:30 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-06-07 14:28:30 +0300 |
commit | 3ea3b1c94f320bb55849d4a9fea1c3009ab3b298 (patch) | |
tree | 87469169e782bdff72b147ec2deef4884037b29f /libbutl/process-run.txx | |
parent | 7c4f5e6464a7d9a9c48b4d6773fbb348624cc32e (diff) |
Fix process_env not to store storage
Diffstat (limited to 'libbutl/process-run.txx')
-rw-r--r-- | libbutl/process-run.txx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libbutl/process-run.txx b/libbutl/process-run.txx index d8b4847..54dceed 100644 --- a/libbutl/process-run.txx +++ b/libbutl/process-run.txx @@ -14,7 +14,10 @@ namespace butl { if (!v.empty ()) { - process_args_as (vars_, v, storage_); + std::string storage; + process_args_as (vars_, v, storage); + assert (storage.empty ()); // We don't expect the storage to be used. + vars_.push_back (nullptr); vars = vars_.data (); } |