WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@kontura
Copy link
Contributor

@kontura kontura commented Nov 28, 2025

It also fixes some memory leaks.

Reported in rpm-software-management/dnf5#2528.

When the `list` is empty and we call `g_slist_append` it returns the new
start of the list which we have to store.

https://docs.gtk.org/glib/type_func.SList.append.html

Pass a pointer to pointer to propagate the value from `append_url_target`.
@kontura kontura requested a review from a team as a code owner November 28, 2025 12:52
@kontura kontura requested review from jrohel and removed request for a team November 28, 2025 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant