Fix resource leak 33/308333/1 accepted/tizen/unified/20240322.174318 accepted/tizen/unified/x/20240326.073025
authorSeonah Moon <seonah1.moon@samsung.com>
Thu, 21 Mar 2024 10:25:51 +0000 (19:25 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Thu, 21 Mar 2024 10:25:57 +0000 (19:25 +0900)
Change-Id: I8dc843b9996921825968bc2e032bccb925b71062

src/softap_gdbus.c

index 36427f92e2547b54976260f9e3ef4819678931be..59d0014a7fe1bf1e5291ee836dea9d39209736f2 100755 (executable)
@@ -88,6 +88,7 @@ softap_gdbus_h *softap_gdbus_create()
                = _create_gdbus_proxy(gdbus_handle->client_bus, gdbus_handle->cancellable);
        if (gdbus_handle->client_bus_proxy == NULL) {
                _destroy_cancellable(gdbus_handle->cancellable);
+               softap_gdbus_destroy(gdbus_handle);
                return NULL;
        }