Skip to content

Cherrypick gnome-screenshot memleak fix

GBytes parameters in "transfer none" mode needs to be released after the function returns, otherwise its reference count will be incremented even if the callee doesn't own the reference, causing a memory leak. Fix this by using BoxedInTransferNone::release instead of BoxedIn::release which is a no-op.

Fixes #483 (closed)

(cherry picked from commit f43d9d16)

Merge request reports