if (extensions) {
if (extensions  && nextensions > 0) {
XpmFreeExtensions(extensions, nextensions)    XpmExtension *extensions;    int nextensions;{    unsigned int i, j, nlines;    XpmExtension *ext;    char **sptr;    if (extensions) {	for (i = 0, ext = extensions; i < nextensions; i++, ext++) {	    if (ext->name)		XpmFree(ext->name);	    nlines = ext->nlines;	    for (j = 0, sptr = ext->lines; j < nlines; j++, sptr++)		if (*sptr)		    XpmFree(*sptr);	    if (ext->lines)		XpmFree(ext->lines);	}	XpmFree(extensions);    }}