From 6e979d0d27655ccc7b620285fbff7231c2e4dcc6 Mon Sep 17 00:00:00 2001 From: Pedro Pinto Date: Thu, 24 Aug 2017 18:56:43 +0000 Subject: [PATCH] Fixed broken build on lnx --- src/lib/api/core/ApiClientInterop.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lib/api/core/ApiClientInterop.cpp b/src/lib/api/core/ApiClientInterop.cpp index b3a7bc0d2..65ca6c86a 100644 --- a/src/lib/api/core/ApiClientInterop.cpp +++ b/src/lib/api/core/ApiClientInterop.cpp @@ -59,9 +59,11 @@ CAPI Quickbus* api_create_quickbus(const char* qbconfig, long length) { } CAPI void api_destroy_quickbus(Quickbus* qbus) { - //if (qbus != nullptr) { - // delete qbus; - //} + #ifndef WIN32 + if (qbus != nullptr) { + delete qbus; + } + #endif } std::string base_topic(const char* type_name, const char* service_qualifier) {