* Simplify g_variant_lookup_value_with_int_key() to avoid license
issues (the previously implementation was based on code from
GLib)
+* Fix segmentation fault in TargetStartupMonitor.
+* Fix segmentation fault in LAHandlerService.
* Add documentation for the GLib extension functions.
* Add documentation for the JobManager class
* Add documentation for the LAHandlerService class
* re-register its client with the new shutdown mode and timeout */
/* extract information from the client */
- consumer = shutdown_client_get_consumer (client);
existing_bus_name = shutdown_client_get_bus_name (client);
existing_object_path = shutdown_client_get_object_path (client);
DLT_LOG (la_handler_context, DLT_LOG_ERROR,
DLT_STRING ("Failed to notify NSM about completed lifecycle request:"),
DLT_STRING ("request id"), DLT_UINT (data->request_id),
- DLT_STRING ("error message"), DLT_STRING (error->message));
+ DLT_STRING ("error message"), DLT_STRING (err->message));
g_error_free (err);
}
else if (error_status == NSM_ERROR_STATUS_OK)
0, 0, NULL, NULL, monitor);
g_object_unref (lp->data);
}
- g_list_free (lp->data);
+
+ /* release the list of systemd units */
+ g_list_free (monitor->units);
/* release the mapping of systemd targets to node states */
g_hash_table_destroy (monitor->targets_to_states);