X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/3d7c873614ca81c1590a4cbb7e786ffda64755d6..d93ae34d3fee76767f36b232969d6810634ffc69:/emufs/emufs.c?ds=inline diff --git a/emufs/emufs.c b/emufs/emufs.c index 42c81f1..cd59b39 100644 --- a/emufs/emufs.c +++ b/emufs/emufs.c @@ -472,6 +472,7 @@ int guardar_indice(EMUFS *emu, char *nombre, INDICE_FUNCION funcion, INDICE_TIPO fwrite(&cant, 1, sizeof(int), fp); fwrite(indices, cant, sizeof(t_Indice), fp); fclose(fp); + free(indices); return 1; }