TapTap
18d1b84246
refactor(protocol): guard session release, clarify Data.owner contract
...
Add a NULL guard to protocol_release_memory_for_session so it no-ops like
the sibling session setters. Correct the Data.owner doc comment, which
implied a non-zero protocol_charge always has an owner; document that
owner may be NULL for uncharged/ownerless Data, that any such charge
falls back to the bound session, and that a charged Data must not outlive
its owning session. Note the lifetime contract on the release API too.
Extend tests/test_protocol.c to cover destroying a charged Data with no
session bound (the other half of the original bug) and to assert that
data_create/data_create_reserve start with owner == NULL and
protocol_charge == 0.
2026-09-13 10:42:45 +02:00
..
2026-09-13 06:59:02 +02:00
2026-09-13 06:24:46 +02:00
2026-09-08 17:25:56 +02:00
2026-09-13 06:24:46 +02:00
2026-09-13 00:59:21 +02:00
2026-06-10 16:58:35 +02:00
2026-09-10 22:05:18 +02:00
2026-09-10 21:40:07 +02:00
2026-09-06 12:34:10 +02:00
2026-09-06 12:34:10 +02:00
2026-09-07 19:50:52 +02:00
2026-09-07 17:42:53 +02:00
2026-09-08 22:53:47 +02:00
2026-06-10 16:58:35 +02:00
2026-09-13 06:22:28 +02:00
2026-07-29 19:19:19 +02:00
2026-09-13 04:18:55 +02:00
2026-07-04 21:25:34 +02:00
2026-09-13 07:20:28 +02:00
2026-06-10 16:58:35 +02:00
2026-09-12 19:29:23 +02:00
2026-09-10 12:50:56 +02:00
2026-09-13 02:51:07 +02:00
2026-09-09 17:48:07 +02:00
2026-07-20 19:42:53 +02:00
2026-07-20 14:44:35 +02:00
2026-09-06 14:19:18 +02:00
2026-09-06 13:20:03 +02:00
2026-09-07 17:42:53 +02:00
2026-07-18 20:00:15 +02:00
2026-09-13 04:52:10 +02:00
2026-09-13 04:16:28 +02:00
2026-08-30 13:50:42 +02:00
2026-07-20 19:42:53 +02:00
2026-09-13 05:19:18 +02:00
2026-09-09 14:23:59 +02:00
2026-09-13 05:24:23 +02:00
2026-07-29 19:19:19 +02:00
2026-07-20 19:42:53 +02:00
2026-07-20 14:44:35 +02:00
2026-09-13 06:24:46 +02:00
2026-09-13 06:24:46 +02:00
2026-09-10 17:49:29 +02:00
2026-09-10 17:13:06 +02:00
2026-09-13 01:44:59 +02:00
2026-07-20 19:42:53 +02:00
2026-09-13 05:24:23 +02:00
2026-07-20 14:44:35 +02:00
2026-09-10 13:52:24 +02:00
2026-09-10 13:52:24 +02:00
2026-09-13 07:20:28 +02:00
2026-07-20 19:42:53 +02:00
2026-09-01 20:46:07 +02:00
2026-07-20 14:44:35 +02:00
2026-09-13 10:42:45 +02:00
2026-07-20 14:44:35 +02:00
2026-08-16 09:37:28 +02:00
2026-06-10 16:58:35 +02:00
2026-09-13 03:46:20 +02:00
2026-09-13 03:29:01 +02:00
2026-09-04 02:25:26 +02:00
2026-07-20 14:44:35 +02:00
2026-09-13 04:06:30 +02:00
2026-07-04 21:25:34 +02:00
2026-09-12 14:54:47 +02:00
2026-09-09 17:48:07 +02:00
2026-09-12 15:03:54 +02:00
2026-07-29 19:19:19 +02:00
2026-09-13 04:52:10 +02:00
2026-06-10 16:58:35 +02:00
2026-09-10 17:39:34 +02:00
2026-09-10 16:27:49 +02:00
2026-08-16 09:37:28 +02:00
2026-07-20 14:44:35 +02:00
2026-09-12 15:01:48 +02:00
2026-07-21 16:55:07 +02:00
2026-09-13 04:18:55 +02:00
2026-07-21 16:55:07 +02:00
2026-09-12 15:01:48 +02:00
2026-07-21 16:55:07 +02:00
2026-07-20 21:04:53 +02:00
2026-09-12 15:03:54 +02:00
2026-09-08 22:27:53 +02:00