diff options
Diffstat (limited to 'dbus/property.cc')
-rw-r--r-- | dbus/property.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus/property.cc b/dbus/property.cc index 0d6e7f0..0abe001 100644 --- a/dbus/property.cc +++ b/dbus/property.cc @@ -382,6 +382,7 @@ bool Property<std::vector<std::string> >::PopValueFromReader( if (!reader->PopVariant(&variant_reader)) return false; + value_.clear(); return variant_reader.PopArrayOfStrings(&value_); } @@ -406,6 +407,7 @@ bool Property<std::vector<ObjectPath> >::PopValueFromReader( if (!reader->PopVariant(&variant_reader)) return false; + value_.clear(); return variant_reader.PopArrayOfObjectPaths(&value_); } |