gnumeric r16934 - in trunk: . src



Author: mortenw
Date: Sun Oct 26 20:06:24 2008
New Revision: 16934
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16934&view=rev

Log:
2008-10-26  Morten Welinder  <terra gnome org>

	* src/commands.c (cmd_hyperlink_finalize): Don't check for NULL
	before g_free.



Modified:
   trunk/ChangeLog
   trunk/src/commands.c

Modified: trunk/src/commands.c
==============================================================================
--- trunk/src/commands.c	(original)
+++ trunk/src/commands.c	Sun Oct 26 20:06:24 2008
@@ -6879,10 +6879,7 @@
 	range_fragment_free (me->selection);
 	me->selection = NULL;
 
-	if (me->opt_content != NULL) {
-		g_free (me->opt_content);
-		me->opt_content = NULL;
-	}
+	g_free (me->opt_content);
 
 	g_slist_free (me->cells);
 	me->cells = NULL;



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