add some more debug

This commit is contained in:
Wim Taymans 2020-06-02 17:15:47 +02:00
parent c4b87aa5e2
commit 4dfd60f838
2 changed files with 2 additions and 0 deletions

View file

@ -146,6 +146,7 @@ static const struct resample_info *find_resample_info(uint32_t format, uint32_t
static void impl_native_free(struct resample *r)
{
spa_log_debug(r->log, "native %p: free", r);
free(r->data);
r->data = NULL;
}

View file

@ -191,6 +191,7 @@ static void unref_handle(struct handle *handle)
{
if (--handle->ref == 0) {
spa_list_remove(&handle->link);
pw_log_debug("clear handle '%s'", handle->factory_name);
spa_handle_clear(&handle->handle);
unref_plugin(handle->plugin);
free(handle->factory_name);