[packagekit] hawkey: g_object_unref (file)

Eugen Wissner belka.ew at gmail.com
Mon Feb 3 07:01:10 PST 2014


Hi,

I noticed a possible leak in the pk-backend-hawkey.c. Please see the patch.
And I'm not sure whether also the filename (filename =
hif_package_get_filename (pkg);) variable should be freed since I don't
know how hif_package_get_filename exactly works.

Best regards
Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20140203/6cf5c6c9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pk-backend-hawkey.patch
Type: text/x-patch
Size: 472 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20140203/6cf5c6c9/attachment.bin>


More information about the PackageKit mailing list