gnome-mud r749 - in trunk: . src
- From: lharris svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-mud r749 - in trunk: . src
- Date: Fri, 20 Feb 2009 11:22:02 +0000 (UTC)
Author: lharris
Date: Fri Feb 20 11:22:02 2009
New Revision: 749
URL: http://svn.gnome.org/viewvc/gnome-mud?rev=749&view=rev
Log:
Check for null before freeing conv_text.
Modified:
trunk/ChangeLog
trunk/src/mud-connection-view.c
Modified: trunk/src/mud-connection-view.c
==============================================================================
--- trunk/src/mud-connection-view.c (original)
+++ trunk/src/mud-connection-view.c Fri Feb 20 11:22:02 2009
@@ -716,7 +716,8 @@
if (view->priv->profile->preferences->EchoText && view->local_echo)
mud_connection_view_add_text(view, text, Sent);
- g_free(conv_text);
+ if(conv_text != NULL)
+ g_free(conv_text);
g_free(text);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]