grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / libs / locale / catalog_funcs.c
blob364c757341d263e4446f5980e9ae703f0690c929
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;