diff --git a/src/examples/video-src.c b/src/examples/video-src.c index 569875e29..0c4227458 100644 --- a/src/examples/video-src.c +++ b/src/examples/video-src.c @@ -302,6 +302,7 @@ int main(int argc, char *argv[]) pw_loop_leave(data.loop); pw_remote_destroy(data.remote); + pw_core_destroy(data.core); pw_loop_destroy(data.loop); return 0; diff --git a/src/modules/module-flatpak.c b/src/modules/module-flatpak.c index aff27b035..0777cd437 100644 --- a/src/modules/module-flatpak.c +++ b/src/modules/module-flatpak.c @@ -155,8 +155,6 @@ static bool client_is_sandboxed(struct pw_client *cl) pid_t pid; const struct ucred *ucred; - return true; - ucred = pw_client_get_ucred(cl); if (ucred) {