Philip Withnall df8592268a
gbytes: Add an assertion to placate static analysis
Otherwise `scan-build` thinks it’s possible for the `GBytes` to be
double-freed, which would indeed happen if `try_steal_and_unref()` were
to return `NULL` on this branch.

It’s not actually possible for it to return `NULL` here though, as if
`bytes->data` were `NULL`, the function would have already returned
higher up.

Fixes this `scan-build` failure:
https://gitlab.gnome.org/GNOME/glib/-/jobs/4359929

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2024-10-01 13:15:15 +01:00
..
2023-11-28 13:52:05 +00:00
2023-11-02 16:30:23 +00:00
2023-11-02 16:30:23 +00:00
2024-04-01 11:01:06 +00:00
2022-05-23 09:19:45 -04:00
2023-10-11 17:38:31 +01:00
2024-09-06 10:49:31 -04:00
2024-09-18 01:48:36 +01:00
2023-11-15 11:09:39 +00:00
2023-11-15 11:09:39 +00:00
2024-04-01 11:01:06 +00:00
2023-10-23 10:25:31 +01:00
2023-02-09 13:36:51 +00:00
2018-01-04 22:19:30 +01:00
2024-04-01 11:01:06 +00:00
2024-08-01 18:38:57 +02:00
2022-07-25 22:30:22 +01:00
2021-09-21 09:41:29 +00:00
2021-11-18 14:32:09 +00:00
2023-10-11 17:38:31 +01:00
2023-10-11 17:38:31 +01:00
2024-09-29 12:30:53 +01:00
2024-07-09 20:16:20 +01:00
2023-11-28 13:52:05 +00:00
2023-10-11 17:38:31 +01:00
2023-11-28 13:52:05 +00:00
2023-10-23 10:25:31 +01:00
2024-01-17 08:57:12 -05:00
2023-10-23 10:25:31 +01:00
2023-10-11 17:38:31 +01:00
2023-11-28 13:52:05 +00:00
2023-10-17 22:59:27 +01:00
2023-10-17 22:59:27 +01:00
2023-11-28 13:52:05 +00:00
2023-11-28 13:52:05 +00:00
2024-04-01 11:01:06 +00:00
2024-04-01 11:01:06 +00:00
2023-08-01 15:33:21 -03:00