client: clear types map in destroy

Change-Id: Ic16063bdf127c3387b027a19f3406b4687372aa5
This commit is contained in:
David Svensson Fors 2017-06-21 13:14:08 +02:00 committed by Wim Taymans
parent 412249b6ed
commit cd9a71d7e6

View file

@ -147,6 +147,7 @@ void pw_client_destroy(struct pw_client *client)
pw_log_debug("client %p: free", impl);
pw_map_clear(&client->objects);
pw_map_clear(&client->types);
if (client->properties)
pw_properties_free(client->properties);