[gnome-software/wip/ubuntu-xenial] apt: Don't store the architecture, it's not used (and we forgot to free it)
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/ubuntu-xenial] apt: Don't store the architecture, it's not used (and we forgot to free it)
- Date: Mon, 25 Apr 2016 15:44:55 +0000 (UTC)
commit 0a7a10639feefeed6c5efda58bf2ed3e4ea8e9f7
Author: Iain Lane <iain orangesquash org uk>
Date: Mon Apr 25 16:44:02 2016 +0100
apt: Don't store the architecture, it's not used (and we forgot to free it)
src/plugins/gs-plugin-apt.cc | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gs-plugin-apt.cc b/src/plugins/gs-plugin-apt.cc
index 317d750..98cfa92 100644
--- a/src/plugins/gs-plugin-apt.cc
+++ b/src/plugins/gs-plugin-apt.cc
@@ -67,7 +67,6 @@ typedef struct
typedef struct {
gchar *name;
gchar *section;
- gchar *architecture;
gchar *installed_version;
gchar *update_version;
gchar *origin;
@@ -394,7 +393,6 @@ look_at_pkg (const pkgCache::PkgIterator &P,
info->update_version = g_strdup (candidate.VerStr ());
info->section = g_strdup (candidate.Section ());
- info->architecture = g_strdup (P.Arch ());
if (info->installed_version) {
plugin->priv->installed_packages =
g_list_append (plugin->priv->installed_packages, info);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]