diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-03-10 21:11:46 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-03-11 12:14:08 +0100 |
commit | af4672326bdd88fbdbc4bd62a2a7563dc7d2077d (patch) | |
tree | 0dffc6a00dd9de1539149889e67c22e9a5b279f3 /common/lines.c | |
parent | 440ac41cf1dc09a4dde43790f9f9d5a83bfb4a45 (diff) | |
download | spice-af4672326bdd88fbdbc4bd62a2a7563dc7d2077d.tar.gz spice-af4672326bdd88fbdbc4bd62a2a7563dc7d2077d.tar.xz spice-af4672326bdd88fbdbc4bd62a2a7563dc7d2077d.zip |
Use the spice allocator in common/
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; |