/*
* ion/de/colour.h
*
- * Copyright (c) Tuomo Valkonen 1999-2006.
+ * Copyright (c) Tuomo Valkonen 1999-2007.
*
* Ion is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by
XFreeColors(ioncore_g.dpy, rootwin->default_cmap, pixels, 5, 0);
- if(cg->spec!=NULL){
- free(cg->spec);
- cg->spec=NULL;
- }
+ gr_stylespec_unalloc(&cg->spec);
}