revert between 56095 -> 55830 in arch
[AROS.git] / workbench / libs / locale / catalog_funcs.c
blob957616ece404e4d7e221cc950865ce76938c3983
1 /*
2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <libraries/locale.h>
7 #include "locale_intern.h"
9 /*
10 ** Dispose the catalog's strings but not the Catalog structure
11 ** itself.
13 void dispose_catalog(struct IntCatalog * cat,
14 struct LocaleBase * LocaleBase)
16 if (cat->ic_StringChunk)
18 FreeVec(cat->ic_StringChunk);
19 cat->ic_StringChunk = NULL;
22 if (cat->ic_CatStrings)
24 FreeVec(cat->ic_CatStrings);
25 cat->ic_CatStrings = NULL;