[anjuta-extras] profiler: Don't leak the target path when choosing a target
- From: James Liggett <jrliggett src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta-extras] profiler: Don't leak the target path when choosing a target
- Date: Tue, 13 Apr 2010 02:17:17 +0000 (UTC)
commit 3c5249aed2752cf8c9f7732d80a42923ad86a51b
Author: James Liggett <jrliggett cox net>
Date: Mon Apr 12 18:14:05 2010 -0700
profiler: Don't leak the target path when choosing a target
plugins/profiler/plugin.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/profiler/plugin.c b/plugins/profiler/plugin.c
index b27e7a3..27e58a3 100644
--- a/plugins/profiler/plugin.c
+++ b/plugins/profiler/plugin.c
@@ -627,6 +627,8 @@ on_profiler_select_target (GtkAction *action, Profiler *profiler)
}
else
profiler_set_target (profiler, NULL);
+
+ g_free (target);
}
gtk_widget_hide (select_target_dialog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]