[yelp] * src/yelp-window.c:



commit af2d72d3fd93be2649c61fd7491000655cf6b57b
Author: Don Scorgie <dscorgie git gnome org>
Date:   Thu Apr 30 20:45:46 2009 +0100

    * src/yelp-window.c:
    Fix spurious frees when using right-click menu
---
 ChangeLog         |    5 +++++
 src/yelp-window.c |    3 ---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b68249c..854a95b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-04-30  Don Scorgie  <dscorgie src gnome org>
 
+	* src/yelp-window.c: 
+	Fix spurious frees when using right-click menu
+
+2009-04-30  Don Scorgie  <dscorgie src gnome org>
+
 	* src/yelp-info-parser.c: 
 	* stylesheets/info2html: 
 	Add support for displaying images in info
diff --git a/src/yelp-window.c b/src/yelp-window.c
index 970c7e9..24d60d7 100644
--- a/src/yelp-window.c
+++ b/src/yelp-window.c
@@ -2490,14 +2490,12 @@ static void window_copy_link_cb (GtkAction *action, YelpWindow *window)
 								TRUE)),
 			    window->priv->uri,
 			    -1);
-    g_free (window->priv->uri);
 }
 
 static void
 window_open_link_cb (GtkAction *action, YelpWindow *window)
 {
     yelp_window_load (window, window->priv->uri);
-    g_free (window->priv->uri);
 }
 
 static void
@@ -2505,7 +2503,6 @@ window_open_link_new_cb (GtkAction *action, YelpWindow *window)
 {
     g_signal_emit (window, signals[NEW_WINDOW_REQUESTED], 0,
 		   window->priv->uri);
-    g_free (window->priv->uri);
 }
 
 /* TODO: This doesn't work... */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]