diff options
Diffstat (limited to 'src/error.cc')
-rw-r--r-- | src/error.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.cc b/src/error.cc index cfc91ff1..4b3a7786 100644 --- a/src/error.cc +++ b/src/error.cc @@ -43,6 +43,7 @@ std::ostringstream _desc_buffer; string error_context() { string context = _ctxt_buffer.str(); + _ctxt_buffer.clear(); _ctxt_buffer.str(""); return context; } |