-rw-r--r-- | libical/src/libical/icalmemory.c | 2 | ||||
-rw-r--r-- | libkcal/icalformat.cpp | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libical/src/libical/icalmemory.c b/libical/src/libical/icalmemory.c index 18d7ef9..3ed38ad 100644 --- a/libical/src/libical/icalmemory.c +++ b/libical/src/libical/icalmemory.c @@ -71,3 +71,3 @@ -#define BUFFER_RING_SIZE 50 +#define BUFFER_RING_SIZE 100 #define MIN_BUFFER_SIZE 64 diff --git a/libkcal/icalformat.cpp b/libkcal/icalformat.cpp index d9fe40b..5877406 100644 --- a/libkcal/icalformat.cpp +++ b/libkcal/icalformat.cpp @@ -146,2 +146,3 @@ bool ICalFormat::fromString( Calendar *cal, const QString &text ) icalcomponent_free( calendar ); + icalmemory_free_ring(); @@ -227,5 +228,6 @@ QString ICalFormat::toString( Calendar *cal ) i18n("libical error"))); + icalmemory_free_ring(); return QString::null; } - + icalmemory_free_ring(); return ret; |