summaryrefslogtreecommitdiff
path: root/common/lines.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-03-10 21:11:46 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:40 +0100
commit7653380e7e3ba4bf6593e473244b1d069f6ffbd3 (patch)
tree868e485d9b99296f598aa5f2bb3e131f4ed36fbd /common/lines.c
parent59b330b4d2fbfd410bf5ade59a7939017e9e3659 (diff)
Use the spice allocator in common/
Diffstat (limited to 'common/lines.c')
-rw-r--r--common/lines.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/lines.c b/common/lines.c
index 5c07744..d2e997e 100644
--- a/common/lines.c
+++ b/common/lines.c
@@ -57,9 +57,10 @@ SOFTWARE.
#undef _XOPEN_SOURCE
#endif
#include "lines.h"
+#include "mem.h"
-#define xalloc(i) malloc(i)
-#define xrealloc(a,b) realloc(a,b)
+#define xalloc(i) spice_malloc(i)
+#define xrealloc(a,b) spice_realloc(a,b)
#define xfree(i) free(i)
typedef unsigned int CARD32;