aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ber_dec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ber_dec.cpp b/src/ber_dec.cpp
index 51bc8f989..5f44537d2 100644
--- a/src/ber_dec.cpp
+++ b/src/ber_dec.cpp
@@ -293,7 +293,7 @@ BER_Decoder::BER_Decoder(const BER_Decoder& other)
owns = true;
}
pushed.type_tag = pushed.class_tag = NO_OBJECT;
- parent = 0;
+ parent = other.parent;
}
/*************************************************