mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-08 05:48:02 +02:00
tests: component-loader: fix GError memory leak
This commit is contained in:
parent
a245d5fa46
commit
89ab5616c0
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ static void
|
|||
on_component_failed (WpCore * core, GAsyncResult * res, TestFixture *f)
|
||||
{
|
||||
gboolean loaded;
|
||||
GError *error = NULL;
|
||||
g_autoptr (GError) error = NULL;
|
||||
|
||||
loaded = wp_core_load_component_finish (core, res, &error);
|
||||
g_assert_error (error, WP_DOMAIN_LIBRARY, WP_LIBRARY_ERROR_INVALID_ARGUMENT);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue