[gnome-software/wip/temp/ubuntu-xenial-rebased: 299/326] 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/temp/ubuntu-xenial-rebased: 299/326] apt: Don't store the architecture, it's not used (and we forgot to free it)
- Date: Fri, 29 Apr 2016 10:12:29 +0000 (UTC)
commit 2cdbf8b584beda63253a9b128cfdf1e8bbf56ae9
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 919d5d6..d7a46fb 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]