NetworkManager/clients
Thomas Haller 4157092a8a clients/secret-agent: rework tracking of requests in secret-agent-simple
Note that previously the @requests hash took the request-id as key and
the RequestData as value. Likewise, the destroy functions of the head
would destroy the key and the value.

However, RequestData also had a field "request_id". But that pointer was
not owned (nor freed) by the RequestData structure. Instead, it was
relied that the hash kept the request-id alive long enough.

That is confusing. Let RequestData own the request-id.

Also, we don't need to track a separate key. Just move the request-id
as first filed in RequestData, and use compare/hash functions that
handle that correctly (nm_pstr_*()).
2019-02-05 08:27:12 +01:00
..
cli cli: clear fields in nmc_cleanup() 2019-02-05 08:22:01 +01:00
common clients/secret-agent: rework tracking of requests in secret-agent-simple 2019-02-05 08:27:12 +01:00
tests settings,gsm: deprecate and stop using 'number' property 2018-12-19 08:54:50 +01:00
tui build: meson: Add trailing commas 2018-12-20 13:50:34 +01:00
meson.build build: meson: Add trailing commas 2018-12-20 13:50:34 +01:00
nm-online.c nm-online: sort options in man page and program help 2018-11-05 09:32:20 +01:00