diff options
author | Damon Chaplin <damon@ximian.com> | 2001-07-12 10:37:53 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-07-12 10:37:53 +0800 |
commit | 0a9ff51460111657627b5e3a7eca6a45606b4fb2 (patch) | |
tree | 813242a5ec2ac2c4f44f891a0a9d2ce1fbf28126 /calendar | |
parent | 05e4067b622c3548db76c04c4dfbf0ef340800e7 (diff) | |
download | gsoc2013-evolution-0a9ff51460111657627b5e3a7eca6a45606b4fb2.tar.gz gsoc2013-evolution-0a9ff51460111657627b5e3a7eca6a45606b4fb2.tar.zst gsoc2013-evolution-0a9ff51460111657627b5e3a7eca6a45606b4fb2.zip |
only create the timezones array when we need to, and make sure we free
2001-07-11 Damon Chaplin <damon@ximian.com>
* src/libical/icaltimezone.c: only create the timezones array when we
need to, and make sure we free things when necessary.
Also added timezones_sorted variable, which we set to 0 when adding a
timezone. We then sort the array before doing binary searches (oops!)
* src/libical/icaltimezone.[hc]: added free_struct() arg to
icaltimezone_free() to specify whether to free the icaltimezone struct.
Also added icaltimezone_array_free() function.
svn path=/trunk/; revision=11026
Diffstat (limited to 'calendar')
0 files changed, 0 insertions, 0 deletions