[PATCH] gdialog core dumps
- From: "Jesse D . Sightler" <jsight pair com>
- To: gnome-list gnome org
- Subject: [PATCH] gdialog core dumps
- Date: Wed, 24 Mar 1999 15:27:07 -0500
This should keep gdialog from choking. :) Enjoy!
---------------
Jesse D. Sightler
http://www3.pair.com/jsight/
"An honest answer can get you into a lot of trouble."
- Anonymous
? gdialog.patch
Index: util.c
===================================================================
RCS file: /cvs/gnome/gnome-utils/gdialog/util.c,v
retrieving revision 1.4
diff -u -r1.4 util.c
--- util.c 1999/01/07 18:27:59 1.4
+++ util.c 1999/03/24 20:27:25
@@ -367,8 +367,10 @@
else
pspace=1;
}
- g_free((gpointer)input); /* allocated by unquote_nl() */
-
+ if (!input)
+ {
+ g_free((gpointer)input); /* allocated by unquote_nl() */
+ }
if(blen)
{
GtkWidget *t;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]