diff options
author | Adam Jackson <ajax@redhat.com> | 2009-04-06 17:56:49 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-04-06 17:56:49 -0400 |
commit | 69e73e5ce0e3971eceed71216d2d7e7d9cd57cc2 (patch) | |
tree | a111f244f220f5146c6c8d07db084c2b57ca2e8e /hw/xfree86/parser/Pointer.c | |
parent | 485946120a6522db9298111752de9be3d675e0b3 (diff) |
config: Remove useless xf86conf{{m,c,re}alloc},free} macros
Diffstat (limited to 'hw/xfree86/parser/Pointer.c')
-rw-r--r-- | hw/xfree86/parser/Pointer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/xfree86/parser/Pointer.c b/hw/xfree86/parser/Pointer.c index 30ad8df84..56a26ba74 100644 --- a/hw/xfree86/parser/Pointer.c +++ b/hw/xfree86/parser/Pointer.c @@ -186,15 +186,15 @@ xf86parsePointerSection (void) Error (ZAXISMAPPING_MSG, NULL); s1 = xf86uLongToString(val.num); if (xf86getSubToken (&(ptr->inp_comment)) != NUMBER || val.num < 0) { - xf86conffree(s1); + free(s1); Error (ZAXISMAPPING_MSG, NULL); } s2 = xf86uLongToString(val.num); l = strlen(s1) + 1 + strlen(s2) + 1; - s = xf86confmalloc(l); + s = malloc(l); sprintf(s, "%s %s", s1, s2); - xf86conffree(s1); - xf86conffree(s2); + free(s1); + free(s2); break; case XAXIS: s = strdup("x"); |