- count++;
- /* TODO : Verificar errores :-D */
- tmp = realloc(tmp, count*sizeof(EMUFS_REG_ID));
- tmp[count-1] = reg.id_reg;
+ if (reg.location != EMUFS_NOT_FOUND) {
+ count++;
+ tmp = realloc(tmp, count*sizeof(EMUFS_REG_ID));
+ tmp[count-1] = reg.id_reg;
+ }