[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 299/331] apt: Don't store the architecture, it's not used (and we forgot to free it)
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 299/331] apt: Don't store the architecture, it's not used (and we forgot to free it)
- Date: Wed, 4 May 2016 14:23:40 +0000 (UTC)
commit 082c747a6fc99e2bd942c6d70e9640c1bb3d98c5
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]