summaryrefslogtreecommitdiff
path: root/src/xine-engine/scratch.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-04-19 01:54:11 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-04-19 01:54:11 +0200
commit95973431372272b749762591cd4b82fe7e587a84 (patch)
treeca727d5a952c9b00c717274bc632c1690e7bb98c /src/xine-engine/scratch.c
parentdd702a3abc16986a2bbc3d3429fce1f621f94c0d (diff)
downloadxine-lib-95973431372272b749762591cd4b82fe7e587a84.tar.gz
xine-lib-95973431372272b749762591cd4b82fe7e587a84.tar.bz2
Replace xine_xcalloc usage with calloc, for the revisions transplanted from 1.2 series.
Diffstat (limited to 'src/xine-engine/scratch.c')
-rw-r--r--src/xine-engine/scratch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/scratch.c b/src/xine-engine/scratch.c
index e4c1dd3e1..c73ab3525 100644
--- a/src/xine-engine/scratch.c
+++ b/src/xine-engine/scratch.c
@@ -109,8 +109,8 @@ scratch_buffer_t *_x_new_scratch_buffer (int num_lines) {
this = xine_xmalloc (sizeof (scratch_buffer_t));
- this->lines = xine_xcalloc ((num_lines + 1), sizeof(char*));
- this->ordered = xine_xcalloc ((num_lines + 1), sizeof(char*));
+ this->lines = calloc ((num_lines + 1), sizeof(char*));
+ this->ordered = calloc ((num_lines + 1), sizeof(char*));
this->scratch_printf = scratch_printf;
this->get_content = scratch_get_content;