From ccb13205f4920b3bd5e8c52f5ec587cf1adf375f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 7 Nov 2014 19:12:43 +0100 Subject: [PATCH] db/upnp: fix valgrind warning --- src/db/plugins/upnp/Directory.cxx | 1 + 1 file changed, 1 insertion(+) 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: