/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
- * Copyright (C) 2002-2010 Aleph One Ltd.
+ * Copyright (C) 2002-2011 Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
sim = yramsim_alloc_sim_data(devId, nBlocks);
- g = YMALLOC(sizeof(ynandif_Geometry));
+ g = malloc(sizeof(ynandif_Geometry));
if(!sim || !g){
if(g)
- YFREE(g);
+ free(g);
return NULL;
}