summaryrefslogtreecommitdiff
path: root/hw/xfree86/parser/Monitor.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-04-06 17:56:49 -0400
committerAdam Jackson <ajax@redhat.com>2009-04-06 17:56:49 -0400
commit69e73e5ce0e3971eceed71216d2d7e7d9cd57cc2 (patch)
treea111f244f220f5146c6c8d07db084c2b57ca2e8e /hw/xfree86/parser/Monitor.c
parent485946120a6522db9298111752de9be3d675e0b3 (diff)
config: Remove useless xf86conf{{m,c,re}alloc},free} macros
Diffstat (limited to 'hw/xfree86/parser/Monitor.c')
-rw-r--r--hw/xfree86/parser/Monitor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/xfree86/parser/Monitor.c b/hw/xfree86/parser/Monitor.c
index 9d533125e..50de091fc 100644
--- a/hw/xfree86/parser/Monitor.c
+++ b/hw/xfree86/parser/Monitor.c
@@ -134,7 +134,7 @@ xf86freeModeLineList (XF86ConfModeLinePtr ptr)
TestFree (ptr->ml_comment);
prev = ptr;
ptr = ptr->list.next;
- xf86conffree (prev);
+ free (prev);
}
}
@@ -580,7 +580,7 @@ VertDone:
/* add to the end of the list of modes sections
referenced here */
- mptr = xf86confcalloc (1, sizeof (XF86ConfModesLinkRec));
+ mptr = calloc (1, sizeof (XF86ConfModesLinkRec));
mptr->list.next = NULL;
mptr->ml_modes_str = val.str;
mptr->ml_modes = NULL;
@@ -822,7 +822,7 @@ xf86freeMonitorList (XF86ConfMonitorPtr ptr)
xf86freeModeLineList (ptr->mon_modeline_lst);
prev = ptr;
ptr = ptr->list.next;
- xf86conffree (prev);
+ free (prev);
}
}
@@ -838,7 +838,7 @@ xf86freeModesList (XF86ConfModesPtr ptr)
xf86freeModeLineList (ptr->mon_modeline_lst);
prev = ptr;
ptr = ptr->list.next;
- xf86conffree (prev);
+ free (prev);
}
}