summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/Url.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/Url.cpp')
-rw-r--r--cpp/src/qpid/Url.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/Url.cpp b/cpp/src/qpid/Url.cpp
index f699b60c17..2061499ec3 100644
--- a/cpp/src/qpid/Url.cpp
+++ b/cpp/src/qpid/Url.cpp
@@ -255,6 +255,7 @@ void Url::parse(const char* url) {
}
void Url::parseNoThrow(const char* url) {
+ clear();
cache.clear();
if (!UrlParser(*this, url).parse())
clear();