diff options
Diffstat (limited to 'common/lines.c')
-rw-r--r-- | common/lines.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/lines.c b/common/lines.c index 5c07744c..d2e997e7 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; |