| Summary: | several uninitialized GError's in pk-transaction.c | ||
|---|---|---|---|
| Product: | PackageKit | Reporter: | Jonathan Conder <jonno.conder+bugs> |
| Component: | core | Assignee: | Richard Hughes <richard> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: | initialize relevant GError's to NULL | ||
|
Description
Jonathan Conder
2010-02-23 21:26:24 UTC
I forgot to mention, this patch is against 0.6.1. The problem still exists in git master though (e.g. on line 2873), and hopefully the patch will still work commit fb4669c72d0e17065c9aecb30ddb746099bcbef2 Author: Jonathan Conder <j@skurvy.no-ip.org> Date: Wed Feb 24 07:57:47 2010 +0000 Initialize relevant GError's to NULL Hi, I've been debugging a packagekit backend for my distribution (Arch Linux) and came across a GLib warning about setting a GError twice. I did a grep for uninitialized GError's and found lots in src/pk-transaction.c, which I assume was why the warnings occured. Attached is a patch to fix this. Signed-off-by: Richard Hughes <richard@hughsie.com> |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.