Commit 40eb407a authored by Alessandro Rubini's avatar Alessandro Rubini

open-close: bugfix on close

This bug was not exposed, as our extension offers both the open and
close hook. Bug introduced in 9e4a90c7, 20 commits ago.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 9e155ca1
......@@ -56,7 +56,7 @@ int pp_open_instance(struct pp_instance *ppi, struct pp_runtime_opts *rt_opts)
int pp_close_instance(struct pp_instance *ppi)
{
if (pp_hooks.open)
if (pp_hooks.close)
return pp_hooks.close(ppi);
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment