Low-level core library that forms the basis for projects such as GTK+ and GNOME.
Go to file
Philip Withnall 7bf49c8df7 Fix size of preallocated array
Commit 084e1d868 added a preallocation to an array to avoid
reallocations later on, but neglected the fact that after N insertions
into the array, there’s always a NULL terminator added to the end. Fix
the preallocation to include that NULL terminator.

This doesn’t change the correctness of the code, but should eliminate
one reallocation.

Spotted by Sebastian Dröge. See
https://gitlab.gnome.org/GNOME/glib/merge_requests/674.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2019-02-25 12:38:08 +00:00
gvdb-builder.c Update FSF’s address 2018-08-13 14:34:19 +01:00
gvdb-builder.h Update FSF’s address 2018-08-13 14:34:19 +01:00
gvdb-format.h Update FSF’s address 2018-08-13 14:34:19 +01:00
gvdb-reader.c Fix size of preallocated array 2019-02-25 12:38:08 +00:00
gvdb-reader.h build: Use weak bindings in gvdb to fix linking with LLD 2018-11-22 00:38:09 +08:00
gvdb.doap doap: Update maintainers list to synchronise with GLib 2018-08-13 14:29:51 +01:00