author | zautrix <zautrix> | 2005-07-04 19:21:19 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-04 19:21:19 (UTC) |
commit | 16898aecbedb978169efef1e1e0233578a42a46e (patch) (side-by-side diff) | |
tree | a391b6c44fd2df62daf5f643393af03bf051f4f0 /libical | |
parent | 2710cddd5b0b69efc1c5a7f8516d5b451ff258f1 (diff) | |
download | kdepimpi-16898aecbedb978169efef1e1e0233578a42a46e.zip kdepimpi-16898aecbedb978169efef1e1e0233578a42a46e.tar.gz kdepimpi-16898aecbedb978169efef1e1e0233578a42a46e.tar.bz2 |
free ring buffer
-rw-r--r-- | libical/src/libical/icalmemory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libical/src/libical/icalmemory.c b/libical/src/libical/icalmemory.c index 3ed38ad..d22561e 100644 --- a/libical/src/libical/icalmemory.c +++ b/libical/src/libical/icalmemory.c @@ -60,25 +60,25 @@ #include "icalmemory.h" #include "icalerror.h" #include <stdio.h> /* for printf (debugging) */ #include <stdlib.h> /* for malloc, realloc */ #include <string.h> /* for memset(), strdup */ #ifdef WIN32 #include <windows.h> #endif -#define BUFFER_RING_SIZE 100 +#define BUFFER_RING_SIZE 25 #define MIN_BUFFER_SIZE 64 /* HACK. Not threadsafe */ typedef struct { int pos; void *ring[BUFFER_RING_SIZE]; } buffer_ring; void icalmemory_free_tmp_buffer (void* buf); void icalmemory_free_ring_byval(buffer_ring *br); |