[gnome-control-center] shell: Fix desktop_name memory leak
- From: Tim Lunn <timl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: Fix desktop_name memory leak
- Date: Mon, 6 May 2013 08:11:57 +0000 (UTC)
commit 6bfce1e06b975c34f3e22d8a400e553485bd1a80
Author: Tim Lunn <tim feathertop org>
Date: Wed May 1 10:53:56 2013 +1000
shell: Fix desktop_name memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=699362
shell/cc-panel-loader.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/shell/cc-panel-loader.c b/shell/cc-panel-loader.c
index 7988493..26576dc 100644
--- a/shell/cc-panel-loader.c
+++ b/shell/cc-panel-loader.c
@@ -163,6 +163,7 @@ cc_panel_loader_fill_model (CcShellModel *model)
desktop_name = g_strconcat ("gnome-", all_panels[i].name,
"-panel.desktop", NULL);
app = g_desktop_app_info_new (desktop_name);
+ g_free (desktop_name);
if (app == NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]