[Asterisk-cvs] asterisk/editline el.c,1.1.1.1,1.2
markster at lists.digium.com
markster at lists.digium.com
Fri Sep 26 21:26:03 CDT 2003
Update of /usr/cvsroot/asterisk/editline
In directory mongoose.digium.com:/tmp/cvs-serv19256/editline
Modified Files:
el.c
Log Message:
Check pointer (bug #253)
Index: el.c
===================================================================
RCS file: /usr/cvsroot/asterisk/editline/el.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- el.c 12 Feb 2003 13:59:15 -0000 1.1.1.1
+++ el.c 27 Sep 2003 02:27:15 -0000 1.2
@@ -121,7 +121,8 @@
prompt_end(el);
sig_end(el);
- el_free((ptr_t) el->el_prog);
+ if (el->el_prog)
+ el_free((ptr_t) el->el_prog);
el_free((ptr_t) el);
}
More information about the svn-commits
mailing list