[gnome-software/wip/temp/ubuntu-xenial-rebased: 127/326] Correctly free package info
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased: 127/326] Correctly free package info
- Date: Fri, 29 Apr 2016 09:58:00 +0000 (UTC)
commit 5049320d4966e437d9e449bacd8090ca3e1b08fa
Author: Robert Ancell <robert ancell canonical com>
Date: Wed Mar 2 15:44:19 2016 +1300
Correctly free package info
src/plugins/gs-plugin-apt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-apt.c b/src/plugins/gs-plugin-apt.c
index da08bf0..707bf12 100644
--- a/src/plugins/gs-plugin-apt.c
+++ b/src/plugins/gs-plugin-apt.c
@@ -60,7 +60,7 @@ free_package_info (gpointer data)
g_free (info->name);
g_free (info->installed_version);
g_free (info->update_version);
- g_free (info);
+ g_slice_free (PackageInfo, info);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]