summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/framing/Blob.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/framing/Blob.h b/cpp/src/qpid/framing/Blob.h
index cf81f693b0..dd86392e5b 100644
--- a/cpp/src/qpid/framing/Blob.h
+++ b/cpp/src/qpid/framing/Blob.h
@@ -122,6 +122,7 @@ class Blob
void assign(const Blob& b) {
assert(empty());
+ if (b.empty()) return;
b.copy(this->store.address(), b.store.address());
copy = b.copy;
destroy = b.destroy;