mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
cleanups
Remove some unused things. Work on shutdown.
This commit is contained in:
parent
9485bd77e7
commit
463954a299
17 changed files with 166 additions and 99 deletions
|
|
@ -191,6 +191,7 @@ find_module (const gchar * path, const gchar *name)
|
|||
if (g_file_test (newpath, G_FILE_TEST_IS_DIR)) {
|
||||
filename = find_module (newpath, name);
|
||||
}
|
||||
g_free (newpath);
|
||||
|
||||
if (filename != NULL)
|
||||
break;
|
||||
|
|
@ -263,6 +264,8 @@ pinos_module_load (PinosDaemon * daemon,
|
|||
g_debug ("trying to load module: %s (%s)", name, filename);
|
||||
|
||||
gmodule = g_module_open (filename, G_MODULE_BIND_LOCAL);
|
||||
g_free (filename);
|
||||
|
||||
if (gmodule == NULL) {
|
||||
g_set_error (err, PINOS_MODULE_ERROR, PINOS_MODULE_ERROR_LOADING,
|
||||
"Failed to open module: %s", g_module_error ());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue