aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-07 19:12:43 +0100
committerMax Kellermann <max@duempel.org>2014-11-07 19:12:43 +0100
commitccb13205f4920b3bd5e8c52f5ec587cf1adf375f (patch)
tree79f4607cede0f58c23e86ed02516890387b125cc
parent6f23e91e335b3415080fcbc90cb9fc3cdcc4344f (diff)
downloadmpd-ccb13205f4920b3bd5e8c52f5ec587cf1adf375f.tar.gz
mpd-ccb13205f4920b3bd5e8c52f5ec587cf1adf375f.tar.xz
mpd-ccb13205f4920b3bd5e8c52f5ec587cf1adf375f.zip
db/upnp: fix valgrind warning
-rw-r--r--src/db/plugins/upnp/Directory.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/db/plugins/upnp/Directory.cxx b/src/db/plugins/upnp/Directory.cxx
index 683022a10..e94a1a997 100644
--- a/src/db/plugins/upnp/Directory.cxx
+++ b/src/db/plugins/upnp/Directory.cxx
@@ -129,6 +129,7 @@ public:
state(NONE),
tag_type(TAG_NUM_OF_ITEM_TYPES)
{
+ m_tobj.clear();
}
protected: