aboutsummaryrefslogtreecommitdiffstats
path: root/src/keydis.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keydis.c')
-rw-r--r--src/keydis.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/keydis.c b/src/keydis.c
index 8d88d46..75c6d98 100644
--- a/src/keydis.c
+++ b/src/keydis.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.15 2008/03/07 13:16:02 james
+ * *** empty log message ***
+ *
* Revision 1.14 2008/03/07 12:37:04 james
* *** empty log message ***
*
@@ -261,7 +264,7 @@ keydis_vt102_reset (KeyDis * _t, Context * c)
KeyDis *
keydis_vt102_new (void)
{
- KeyDis_VT102 *t = malloc (sizeof (KeyDis_VT102));
+ KeyDis_VT102 *t = xmalloc (sizeof (KeyDis_VT102));
t->key = keydis_vt102_key;
t->close = keydis_close;
t->set_baud = keydis_vt102_set_baud;
@@ -278,7 +281,7 @@ keydis_vt102_new (void)
KeyDis *
keydis_ipc_new (Socket * s)
{
- KeyDis_IPC *t = malloc (sizeof (KeyDis_IPC));
+ KeyDis_IPC *t = xmalloc (sizeof (KeyDis_IPC));
t->key = keydis_ipc_key;
t->close = keydis_close;
t->set_baud = keydis_ipc_set_baud;