From c1c658c00eefad4a5e559ef60f4f185c9e2a50e4 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 4 Jun 2023 14:38:01 +0200 Subject: [PATCH] Fix leak during discovery Signed-off-by: falkTX --- source/discovery/carla-discovery.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/discovery/carla-discovery.cpp b/source/discovery/carla-discovery.cpp index 476c0d509..43a3af0d7 100644 --- a/source/discovery/carla-discovery.cpp +++ b/source/discovery/carla-discovery.cpp @@ -2369,6 +2369,7 @@ int main(int argc, const char* argv[]) if (std::strcmp(filename, ":all") == 0) { do_cached_check(type); + gPipe = nullptr; return 0; } #endif