[gedit] Revert "Add FIXME comment for a potential memory leak"
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Revert "Add FIXME comment for a potential memory leak"
- Date: Sun, 9 Jun 2013 18:35:04 +0000 (UTC)
commit 6e3bdf54fb3da6ade315f9595b59e3b1de3e8198
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Jun 9 20:33:59 2013 +0200
Revert "Add FIXME comment for a potential memory leak"
This reverts commit 5ebe29c84d73c6f53b034b2f0f533f6f474e0556.
I didn't see that the destroy signal is connected to free the struct.
plugins/time/gedit-time-plugin.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/plugins/time/gedit-time-plugin.c b/plugins/time/gedit-time-plugin.c
index a1c8597..4b1f2cd 100644
--- a/plugins/time/gedit-time-plugin.c
+++ b/plugins/time/gedit-time-plugin.c
@@ -1031,8 +1031,6 @@ gedit_time_plugin_create_configure_widget (PeasGtkConfigurable *configurable)
widget = get_configure_widget (GEDIT_TIME_PLUGIN (configurable));
- /* FIXME: memory leak? Only widget->content is freed, not the entire
- * struct. */
return widget->content;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]