This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=dbc5a22d66b3ef17f4f4a81ff74c79b0eb2920bd commit dbc5a22d66b3ef17f4f4a81ff74c79b0eb2920bd Author: Guillem Jover <[email protected]> AuthorDate: Thu Dec 23 06:23:51 2021 +0100 Dpkg::Control::Fields: Fix field_register() to return nothing We should not leak the internal field representation. --- scripts/Dpkg/Control/FieldsCore.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/Dpkg/Control/FieldsCore.pm b/scripts/Dpkg/Control/FieldsCore.pm index 3247d2911..a1f8ba07b 100644 --- a/scripts/Dpkg/Control/FieldsCore.pm +++ b/scripts/Dpkg/Control/FieldsCore.pm @@ -1310,6 +1310,8 @@ sub field_register($$;@) { allowed => $types, %opts }; + + return; } =item field_insert_after($type, $ref, @fields) -- Dpkg.Org's dpkg

