[gnome-software] trivial: Fix a tiny memory leak in the self tests
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Fix a tiny memory leak in the self tests
- Date: Mon, 18 Jul 2016 10:00:17 +0000 (UTC)
commit b376215a787f027946dec5662070a50786280bde
Author: Richard Hughes <richard hughsie com>
Date: Mon Jul 18 10:13:35 2016 +0100
trivial: Fix a tiny memory leak in the self tests
src/gs-self-test.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-self-test.c b/src/gs-self-test.c
index 64b4a01..6f6150f 100644
--- a/src/gs-self-test.c
+++ b/src/gs-self-test.c
@@ -879,7 +879,6 @@ gs_plugin_loader_authentication_func (GsPluginLoader *plugin_loader)
g_assert_cmpint (gs_auth_get_flags (auth), ==, 0);
/* do an action that returns a URL */
- review = gs_review_new ();
ret = gs_plugin_loader_auth_action (plugin_loader, auth,
GS_AUTH_ACTION_REGISTER,
NULL, &error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]