core: fix leak

This commit is contained in:
Wim Taymans 2017-08-23 10:32:38 +02:00
parent 61e7218006
commit 5cc4c5c378

View file

@ -586,8 +586,10 @@ struct pw_port *pw_core_find_port(struct pw_core *core,
pout, pout,
pin, pin,
props, props,
n_format_filters, format_filters, error) == NULL) n_format_filters, format_filters, error) == NULL) {
free(*error);
continue; continue;
}
best = p; best = p;
} }